Update 'k3os/set_hostname.sh'

main
dingenbohs 5 days ago
parent 42221d7499
commit ead20e3ef0

@ -58,7 +58,7 @@ set_hostname() {
echo "Warning: Failed to remount $CONFIG_DIR back to read-only. Proceeding..."
fi
echo '$HOSTNAME_ENTRY' > /var/lib/rancher/k3os/hostname
echo -e "$HOSTNAME_ENTRY" > /var/lib/rancher/k3os/hostname
# 4. Report status
if [ $MODIFICATION_STATUS -eq 0 ]; then

Loading…
Cancel
Save