diff --git a/devtools/createimage.sh b/devtools/createimage.sh index 7af4a8c..2826ca7 100755 --- a/devtools/createimage.sh +++ b/devtools/createimage.sh @@ -22,7 +22,7 @@ export INSTALL_DISK=$LOOP_DEV export INSTALL_EFI_DEV=$INSTALL_DISK""p2 export INSTALL_SWAP_DEV=$INSTALL_DISK""p3 export INSTALL_ZPOOL_DEV=$INSTALL_DISK""p4 -export INSTALL_ZPOOL=${INSTALL_ZPOOL:-zpool} +export INSTALL_ZPOOL=${INSTALL_ZPOOL:-rpool} cd ../install diff --git a/install/installimage.sh b/install/installimage.sh index 2e14146..93d603f 100755 --- a/install/installimage.sh +++ b/install/installimage.sh @@ -1,10 +1,13 @@ #!/bin/sh DISK=$1 -URL=https://github.com/psy0rz/alpinebox/releases/latest/download/alpine.img.gz +RELEASE=${2:-latest} + +URL=https://github.com/psy0rz/alpinebox/releases/$RELEASE/download/alpine.img.gz + if ! [ "$DISK" ]; then - echo "Usage: $0 " + echo "Usage: $0 [release]" echo "Will install Alpine Box on your system from a image." echo "You should be able to run this from any Linux distro or environment."