mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-05-13 12:15:03 +00:00
Update build.func
This commit is contained in:
+30
-6
@@ -6126,9 +6126,21 @@ create_lxc_container() {
|
|||||||
rc=$?
|
rc=$?
|
||||||
case $rc in
|
case $rc in
|
||||||
0) : ;; # success - container created, continue
|
0) : ;; # success - container created, continue
|
||||||
2) msg_error "LXC stack upgrade ignored. Please inspect: $LOGFILE" ; _flush_pct_log ; exit 231 ;;
|
2)
|
||||||
3) msg_error "LXC stack upgrade failed. Please inspect: $LOGFILE" ; _flush_pct_log ; exit 231 ;;
|
msg_error "LXC stack upgrade ignored. Please inspect: $LOGFILE"
|
||||||
4) msg_error "Cancelled by user." ; _flush_pct_log ; exit 231 ;;
|
_flush_pct_log
|
||||||
|
exit 231
|
||||||
|
;;
|
||||||
|
3)
|
||||||
|
msg_error "LXC stack upgrade failed. Please inspect: $LOGFILE"
|
||||||
|
_flush_pct_log
|
||||||
|
exit 231
|
||||||
|
;;
|
||||||
|
4)
|
||||||
|
msg_error "Cancelled by user."
|
||||||
|
_flush_pct_log
|
||||||
|
exit 231
|
||||||
|
;;
|
||||||
esac
|
esac
|
||||||
else
|
else
|
||||||
msg_error "Container creation failed. See $LOGFILE"
|
msg_error "Container creation failed. See $LOGFILE"
|
||||||
@@ -6151,9 +6163,21 @@ create_lxc_container() {
|
|||||||
rc=$?
|
rc=$?
|
||||||
case $rc in
|
case $rc in
|
||||||
0) : ;; # success - container created, continue
|
0) : ;; # success - container created, continue
|
||||||
2) msg_error "LXC stack upgrade ignored. Please inspect: $LOGFILE" ; _flush_pct_log ; exit 231 ;;
|
2)
|
||||||
3) msg_error "LXC stack upgrade failed. Please inspect: $LOGFILE" ; _flush_pct_log ; exit 231 ;;
|
msg_error "LXC stack upgrade ignored. Please inspect: $LOGFILE"
|
||||||
4) msg_error "Cancelled by user." ; _flush_pct_log ; exit 231 ;;
|
_flush_pct_log
|
||||||
|
exit 231
|
||||||
|
;;
|
||||||
|
3)
|
||||||
|
msg_error "LXC stack upgrade failed. Please inspect: $LOGFILE"
|
||||||
|
_flush_pct_log
|
||||||
|
exit 231
|
||||||
|
;;
|
||||||
|
4)
|
||||||
|
msg_error "Cancelled by user."
|
||||||
|
_flush_pct_log
|
||||||
|
exit 231
|
||||||
|
;;
|
||||||
esac
|
esac
|
||||||
else
|
else
|
||||||
msg_error "Container creation failed. See $LOGFILE"
|
msg_error "Container creation failed. See $LOGFILE"
|
||||||
|
|||||||
Reference in New Issue
Block a user