diff --git a/examples/all-the-things.sh b/examples/all-the-things.sh index c6baa171..de5eca8c 100755 --- a/examples/all-the-things.sh +++ b/examples/all-the-things.sh @@ -9,8 +9,8 @@ ocic image list read : " Create a working container, and capture its name " read -echo '[container1=`buildah from --image ${1:-ubuntu}`]' -container1=`buildah from --image ${1:-ubuntu}` +echo '[container1=`buildah from ${1:-ubuntu}`]' +container1=`buildah from ${1:-ubuntu}` read : " Mount that working container, and capture the mountpoint " read @@ -24,7 +24,7 @@ echo yay > $mountpoint1/file-in-root read : " Produce an image from the container " read -buildah commit "$container1" --output containers-storage:${2:-first-new-image} +buildah commit "$container1" containers-storage:${2:-first-new-image} read : " Verify that our new image is there " read @@ -41,8 +41,8 @@ systemctl stop ocid read : " You know what? Go ahead and use that image we just created, and capture its name " read -echo '[container2=`buildah from --image=${2:-first-new-image}`]' -container2=`buildah from --image=${2:-first-new-image}` +echo '[container2=`buildah from ${2:-first-new-image}`]' +container2=`buildah from ${2:-first-new-image}` read : " Mount that new working container, and capture the mountpoint " read @@ -60,7 +60,7 @@ echo yay > $mountpoint2/another-file-in-root read : " Produce an image from the new container" read -buildah commit "$container2" --output containers-storage:${3:-second-new-image} +buildah commit "$container2" containers-storage:${3:-second-new-image} read : " Unmount our new working container and delete it " read diff --git a/examples/copy.sh b/examples/copy.sh index 699e60d8..a8fb1e98 100755 --- a/examples/copy.sh +++ b/examples/copy.sh @@ -13,8 +13,8 @@ ocic image list read : " Create a working container, and capture its name " read -echo '[container1=`buildah from --pull --image ${1:-alpine}`]' -container1=`buildah from --pull --image ${1:-alpine}` +echo '[container1=`buildah from ${1:-alpine}`]' +container1=`buildah from ${1:-alpine}` read : " Mount that working container, and capture the mountpoint " read