blob: 8e5a486289a9e2bd2d48d4140364e7fe26b53540 [file] [log] [blame]
Arthur Martella62cd6aa2017-09-08 13:27:46 -04001#!/bin/bash
2echo "Running first-boot script"
3FLAG="first-boot.sh"
4echo "First boot run" > ${FLAG}
5echo "$vm_name" >> ${FLAG}
6touch /var/lib/cloud/instance/payload/launch-params
7chmod 644 /var/lib/cloud/instance/payload/launch-params
8#for i in $(ls /sys/class/net); do
9# echo "Restart $i" >> ${FLAG}
10# ifdown ${i}
11# ifup ${i}
12#done