attempt to run the metadata service
diff --git a/tools/build_uec.sh b/tools/build_uec.sh
index 7d344f0..9b67cf2 100755
--- a/tools/build_uec.sh
+++ b/tools/build_uec.sh
@@ -115,7 +115,7 @@
<os>
<type>hvm</type>
<kernel>$image_dir/kernel</kernel>
- <cmdline>root=/dev/vda ro console=ttyS0 init=/usr/lib/cloud-init/uncloud-init ds=nocloud ubuntu-pass=ubuntu</cmdline>
+ <cmdline>root=/dev/vda ro console=ttyS0 init=/usr/lib/cloud-init/uncloud-init ds=nocloud-net;s=http://192.168.$GUEST.1:4567/ ubuntu-pass=ubuntu</cmdline>
</os>
<features>
<acpi/>
@@ -154,6 +154,10 @@
</domain>
EOF
+cp -r $TOOLS_DIR/uec $vm_dir/uec
+
+(cd $vm_dir/uec; python meta.py 192.168.$GUEST_NETWORK.1:4567 &)
+
# Create the instance
virsh create $vm_dir/libvirt.xml