This commit is contained in:
dcmartin 2020-12-30 12:31:18 -08:00
parent 9fe9e1a7e5
commit e0725dc512

View file

@ -114,7 +114,7 @@ if [ $(diff ${tmp} ${FILE_INTERFACES} | wc -c) -gt 0 ]; then
info "If you have modified the network on the host manualy, those can now be overwritten"
info "If you do not overwrite this now you need to manually adjust it later"
info "Do you want to proceed with that? [N/y] "
read answer < /dev/tty
read answer
if [[ "$answer" =~ "y" ]] || [[ "$answer" =~ "Y" ]]; then
info "Replacing /etc/network/interfaces"