Update build.func
This commit is contained in:
parent
a5a58d87b4
commit
266d121e92
@ -1978,7 +1978,9 @@ EOF'
|
|||||||
fi
|
fi
|
||||||
msg_ok "Customized LXC Container"
|
msg_ok "Customized LXC Container"
|
||||||
install_ssh_keys_into_ct
|
install_ssh_keys_into_ct
|
||||||
lxc-attach -n "$CTID" -- bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVED/main/install/${var_install}.sh)"
|
if ! lxc-attach -n "$CTID" -- bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVED/main/install/${var_install}.sh)"; then
|
||||||
|
exit $?
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
destroy_lxc() {
|
destroy_lxc() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user