This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash -x | |
# Dependencies | |
sudo apt-get install -y kvm cloud-utils genisoimage | |
# Download cloud image | |
img_url="http://cloud-images.ubuntu.com/server/releases/16.04/release/ubuntu-16.04-server-cloudimg-amd64-disk1.img" | |
wget $img_url -O disk.img.dist | |
# Create user-data |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
all: | |
gcc env.c -o env | |
install: | |
install env $(DESTDIR) | |
clean: | |
rm -f env |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mkdir $SNAP_USER_COMMON | |
touch $SNAP_USER_COMMON/canttouchit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash -x | |
# | |
# simple nested ubuntu vm testcase | |
# | |
# (c) 2014,2015 Chris J Arges <christopherarges@gmail.com> | |
L1_NAME="nested-L1" | |
L2_NAME="nested-L2" | |
L1_MEMORY="1024" | |
L2_MEMORY="768" |