mirror of
https://github.com/flynx/proxmox-utils.git
synced 2025-10-29 11:10:09 +00:00
fix...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
3efb4f4b31
commit
1cfac9d4ad
@ -211,7 +211,7 @@ if xreadYes "# Update /etc/hosts?" HOSTS ; then
|
|||||||
@ cp /etc/hosts{,.bak}
|
@ cp /etc/hosts{,.bak}
|
||||||
@ cp /etc/hosts{,.new}
|
@ cp /etc/hosts{,.new}
|
||||||
@ sed -i \
|
@ sed -i \
|
||||||
-e 's/^[^#].* \(pve.local.*\)$/'${HOST_ADMIN_IP}'\1/' \
|
-e 's/^[^#].* \(pve.local.*\)$/'${HOST_ADMIN_IPn}'\1/' \
|
||||||
/etc/hosts.new
|
/etc/hosts.new
|
||||||
reviewApplyChanges /etc/hosts
|
reviewApplyChanges /etc/hosts
|
||||||
fi
|
fi
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user