3 # exit for any vm which is not our test vm
4 if ifclass VM
&& ! ifclass demohost || ifclass VOL_STABLE_BOOTSTRAP
; 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