diff --git a/g2testvm.sh b/g2testvm.sh index 20105c4..32fe129 100755 --- a/g2testvm.sh +++ b/g2testvm.sh @@ -3,7 +3,7 @@ name=${NAME:-${PREFIX:-Test-}$(uuidgen | cut -c -6)} hostname=${name:l} -: ${STAGEDIR:=~/.cache/stage3s} +: ${STAGEDIR:=/mnt/downloads/Gentoo/stage3s} : ${STAGEARCH:=amd64} : ${POOL:=default} : ${KVER:=4.4.6} @@ -54,8 +54,7 @@ if [[ ! -f ${ssh_key} ]]; then fi printf 'Creating %s from %s\n' "${pooldir}/${name}.img" "${stagetbz}" -stage3img "${stagetbz}" "${pooldir}/${name}.img" \ - -i ${ssh_key} \ +gentoo-img "${stagetbz}" "${pooldir}/${name}.img" \ -L ${hostname} \ -V '/=2G;;;ro,noatime,discard' \ -V '/var/log=512M;;;noatime,discard' \