aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xlinaro-ami/create-oe-persistent-ami.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/linaro-ami/create-oe-persistent-ami.sh b/linaro-ami/create-oe-persistent-ami.sh
index 0f930d6..65ad131 100755
--- a/linaro-ami/create-oe-persistent-ami.sh
+++ b/linaro-ami/create-oe-persistent-ami.sh
@@ -19,5 +19,5 @@ PERSISTENT_VOL_SIZE=100 # in GB
ec2-register -n ci-precise-64bit-persistent-100g \
--architecture x86_64 \
--kernel $CI_PRECISE_64BIT_KERNEL \
- -s $CI_PRECISE_64BIT_ROOT_SNAPSHOT \
- -b /dev/sdb=:$PERSISTENT_VOL_SIZE
+ --snapshot $CI_PRECISE_64BIT_ROOT_SNAPSHOT \
+ --block-device-mapping /dev/sdb=:$PERSISTENT_VOL_SIZE