aboutsummaryrefslogtreecommitdiffstats
path: root/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V5/artifacts/cloud-nimbus.sh
blob: 48485f3bf69f9c4cb5716caaea53a6544559a5e9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/bash
echo "Running first-boot script"
FLAG="first-boot.sh"
echo "First boot run" > ${FLAG}
echo "$vm_name" >> ${FLAG}
touch /var/lib/cloud/instance/payload/launch-params
chmod 644 /var/lib/cloud/instance/payload/launch-params
#for i in $(ls /sys/class/net); do
#  echo "Restart $i" >> ${FLAG}
#  ifdown ${i}
#  ifup ${i}
#done