mirror of
https://github.com/flynx/proxmox-utils.git
synced 2025-12-25 21:02:04 +00:00
Compare commits
No commits in common. "536331234d904826eb35ca27069666da5e331fd8" and "b8cca65351786651d41466a10279cdfcff0fc5c7" have entirely different histories.
536331234d
...
b8cca65351
22
.pct-helpers
22
.pct-helpers
@ -818,28 +818,6 @@ pctSetNotes(){
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
#
|
|
||||||
# showNotes [VAR ...]
|
|
||||||
#
|
|
||||||
BUILD_NOTES=BUILD_NOTES
|
|
||||||
showNotes(){
|
|
||||||
[ -e "${BUILD_NOTES}" ] \
|
|
||||||
&& mv "${BUILD_NOTES}"{,.bak}
|
|
||||||
[ -e "${BUILD_NOTES}".tpl ] \
|
|
||||||
&& cat "${BUILD_NOTES}".tpl \
|
|
||||||
| expandPCTTemplate $@ \
|
|
||||||
| tee "${BUILD_NOTES}"
|
|
||||||
}
|
|
||||||
|
|
||||||
#
|
|
||||||
# pushNotes ID
|
|
||||||
#
|
|
||||||
pushNotes(){
|
|
||||||
[ -e "${BUILD_NOTES}" ] \
|
|
||||||
&& @ pct-push-r $1 "${BUILD_NOTES}"
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#----------------------------------------------------------------------
|
#----------------------------------------------------------------------
|
||||||
# vim:set ts=4 sw=4 nowrap :
|
# vim:set ts=4 sw=4 nowrap :
|
||||||
|
|||||||
@ -88,7 +88,6 @@ pctSetNotes $ID
|
|||||||
|
|
||||||
saveLastRunConfig
|
saveLastRunConfig
|
||||||
|
|
||||||
showNotes
|
|
||||||
echo "# Done."
|
echo "# Done."
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -78,7 +78,6 @@ pctSetNotes $ID
|
|||||||
|
|
||||||
saveLastRunConfig
|
saveLastRunConfig
|
||||||
|
|
||||||
showNotes
|
|
||||||
echo "# Done."
|
echo "# Done."
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -46,8 +46,6 @@ if xreadYes "# Update firewall rules?" FIREWALL ; then
|
|||||||
@ cp --backup -i templates/etc/pve/firewall/cluster.fw /etc/pve/firewall/
|
@ cp --backup -i templates/etc/pve/firewall/cluster.fw /etc/pve/firewall/
|
||||||
fi
|
fi
|
||||||
|
|
||||||
showNotes
|
|
||||||
echo "# Done."
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -141,7 +141,6 @@ pctSetNotes $ID
|
|||||||
|
|
||||||
saveLastRunConfig
|
saveLastRunConfig
|
||||||
|
|
||||||
showNotes
|
|
||||||
echo "# Done."
|
echo "# Done."
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -78,7 +78,6 @@ pctSetNotes $ID
|
|||||||
|
|
||||||
saveLastRunConfig
|
saveLastRunConfig
|
||||||
|
|
||||||
showNotes
|
|
||||||
echo "# Done."
|
echo "# Done."
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -77,7 +77,6 @@ makeReserveCT $NS_ID $RESERVE_NS_ID $TEMPLATE_NS_ID
|
|||||||
|
|
||||||
saveLastRunConfig
|
saveLastRunConfig
|
||||||
|
|
||||||
showNotes
|
|
||||||
echo "# Done."
|
echo "# Done."
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -89,7 +89,6 @@ pctSetNotes $ID
|
|||||||
|
|
||||||
saveLastRunConfig
|
saveLastRunConfig
|
||||||
|
|
||||||
showNotes
|
|
||||||
echo "# Done."
|
echo "# Done."
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -87,7 +87,6 @@ pctSetNotes $ID
|
|||||||
|
|
||||||
saveLastRunConfig
|
saveLastRunConfig
|
||||||
|
|
||||||
showNotes
|
|
||||||
echo "# Done."
|
echo "# Done."
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -105,7 +105,6 @@ pctSetNotes $ID
|
|||||||
|
|
||||||
saveLastRunConfig
|
saveLastRunConfig
|
||||||
|
|
||||||
showNotes
|
|
||||||
echo "# Done."
|
echo "# Done."
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user