mirror of
https://github.com/flynx/proxmox-utils.git
synced 2025-10-29 11:10:09 +00:00
notes...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
49d4560ddf
commit
526e9f4ab7
@ -68,6 +68,26 @@ getLatestTemplate '.*-turnkey-nextcloud' TEMPLATE
|
|||||||
pctCreate $ID "$TEMPLATE" "$OPTS_STAGE_1" "$PASS"
|
pctCreate $ID "$TEMPLATE" "$OPTS_STAGE_1" "$PASS"
|
||||||
sleep ${TIMEOUT:=5}
|
sleep ${TIMEOUT:=5}
|
||||||
|
|
||||||
|
# hooking into tkl init process:
|
||||||
|
# - wait for /etc/inithooks.conf to be generated by:
|
||||||
|
# /usr/lib/inithooks/firstboot.d/29preseed
|
||||||
|
# this file existion would mean that the first stage of setup is
|
||||||
|
# done and we can do:
|
||||||
|
# lxc-attach $ID -- bash --login exit
|
||||||
|
# to launch interactive setup...
|
||||||
|
# XXX can we get console/log output while poling???
|
||||||
|
# - inject a script into the chain to do our stuff
|
||||||
|
# Q: can we reuse tkl's scripts???
|
||||||
|
#
|
||||||
|
# * another strategy would be generate our own inithooks.conf but
|
||||||
|
# this would require us to mount the ct volume before first boot...
|
||||||
|
# see:
|
||||||
|
# https://forum.proxmox.com/threads/pct-push-when-lxc-is-offline.116786/
|
||||||
|
# * might be usefull to do both to:
|
||||||
|
# - maximize compatibility / change tolerance (tkl ui) (???)
|
||||||
|
# - skip dialogs we do not use...
|
||||||
|
# ...i.e. poll-patch-ui
|
||||||
|
#
|
||||||
# for tkl inithooks doc see:
|
# for tkl inithooks doc see:
|
||||||
# https://www.turnkeylinux.org/docs/inithooks
|
# https://www.turnkeylinux.org/docs/inithooks
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user