alpine-make-vm-image/amvi

5 lines
361 B
Text
Raw Permalink Normal View History

2022-01-06 04:23:12 +00:00
#!/bin/sh
2022-02-19 23:04:57 +00:00
HOSTNAME="${1:-alpine}" SSHPUBKEY="${SSHPUBKEY:-ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDBUk5IjB3+trnVO6pncivFbOetUL8BPTl3CwAtk4532 xfnw@raven}" ./alpine-make-vm-image --image-format qcow2 --image-size "${3-6G}" --repositories-file example/repositories --packages "$(cat example/packages)" --script-chroot "${2-alpine.qcow2}" -- ./example/configure.sh