lgtm
This commit is contained in:
parent
9fe9e1a7e5
commit
e0725dc512
1 changed files with 1 additions and 1 deletions
|
@ -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 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 "If you do not overwrite this now you need to manually adjust it later"
|
||||||
info "Do you want to proceed with that? [N/y] "
|
info "Do you want to proceed with that? [N/y] "
|
||||||
read answer < /dev/tty
|
read answer
|
||||||
|
|
||||||
if [[ "$answer" =~ "y" ]] || [[ "$answer" =~ "Y" ]]; then
|
if [[ "$answer" =~ "y" ]] || [[ "$answer" =~ "Y" ]]; then
|
||||||
info "Replacing /etc/network/interfaces"
|
info "Replacing /etc/network/interfaces"
|
||||||
|
|
Loading…
Reference in a new issue