3 # exit for any vm except demohost, or if we are doing a dirinstall
4 if ifclass VM
&& ! ifclass demohost || ifclass VOL_STRETCH_BOOTSTRAP ||
[[ ! $FAI_ACTION ||
$FAI_ACTION = dirinstall
]]; then
8 keyfile
=/var
/lib
/fai
/config
/distro-install-common
/luks
/host-
$HOSTNAME
9 f
=$target/root
/keyscript
19 f
=$target/root
/keyscript-manual
22 if ! [ -e /tmp/key ]; then
25 printf '%s' "$pass" > /tmp/key
32 # for hosts which don't have these data volumes, copy the specific
34 if ifclass demohost
; then
35 files
=(/var
/lib
/fai
/config
/distro-install-common
/luks
/host-demohost
)
37 files
=(/var
/lib
/fai
/config
/distro-install-common
/luks
/host-
{tp
,demohost
})
39 if [[ ${files[0]} ]]; then