commit | 63cb9239aa2d551d90ce69b1dd1a070cc23c442a | [log] [tgz] |
---|---|---|
author | Jesse Andrews <anotherjesse@gmail.com> | Sat Nov 05 23:16:53 2011 -0700 |
committer | Jesse Andrews <anotherjesse@gmail.com> | Sat Nov 05 23:16:53 2011 -0700 |
tree | 60f7dcb55edb3ec53c27e97db707f33baa966989 | |
parent | 7306f3bfc77e92657107c9ec17da35a6df2110f5 [diff] |
more userdata
diff --git a/tools/build_uec.sh b/tools/build_uec.sh index 87b7275..392427d 100755 --- a/tools/build_uec.sh +++ b/tools/build_uec.sh
@@ -166,6 +166,14 @@ local-hostname: $GUEST_NAME.local EOF +# set metadata +cat > $vm_dir/uec/user-data<<EOF +#cloud-config +apt_update: true +apt_upgrade: true +packages: [ vim-nox, git-core ] +EOF + # (re)start a metadata service ( pid=`lsof -iTCP@192.168.$GUEST_NETWORK.1:4567 -n | awk '{print $2}' | tail -1`