Update 'k3os/set_hostname.sh'
This commit is contained in:
@@ -58,6 +58,8 @@ set_hostname() {
|
|||||||
echo "Warning: Failed to remount $CONFIG_DIR back to read-only. Proceeding..."
|
echo "Warning: Failed to remount $CONFIG_DIR back to read-only. Proceeding..."
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
echo '$HOSTNAME_ENTRY' > /var/lib/rancher/k3os/hostname
|
||||||
|
|
||||||
# 4. Report status
|
# 4. Report status
|
||||||
if [ $MODIFICATION_STATUS -eq 0 ]; then
|
if [ $MODIFICATION_STATUS -eq 0 ]; then
|
||||||
echo ""
|
echo ""
|
||||||
|
|||||||
Reference in New Issue
Block a user