mirror of
https://github.com/flynx/proxmox-utils.git
synced 2025-10-28 18:50:08 +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{,.new}
|
||||
@ sed -i \
|
||||
-e 's/^[^#].* \(pve.local.*\)$/'${HOST_ADMIN_IP}'\1/' \
|
||||
-e 's/^[^#].* \(pve.local.*\)$/'${HOST_ADMIN_IPn}'\1/' \
|
||||
/etc/hosts.new
|
||||
reviewApplyChanges /etc/hosts
|
||||
fi
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user