|
@ -154,11 +154,6 @@ users:
 |
|
|
ssh-authorized-keys:
 |
|
|
ssh-authorized-keys:
 |
|
|
- VIRL-USER-SSH-PUBLIC-KEY
 |
|
|
- VIRL-USER-SSH-PUBLIC-KEY
 |
|
|
sudo: ALL=(ALL) ALL
 |
|
|
sudo: ALL=(ALL) ALL
 |
|
|
packages:
 |
|
|
|
|
|
- joe
 |
|
|
|
|
|
- iperf
 |
|
|
|
|
|
- unzip
 |
|
|
|
|
|
- openjdk-7-jre-headless
 |
|
|
|
|
|
write_files:
 |
|
|
write_files:
 |
|
|
- path: /etc/init/ttyS0.conf
 |
|
|
- path: /etc/init/ttyS0.conf
 |
|
|
owner: root:root
 |
|
|
owner: root:root
 |
|
@ -202,6 +197,8 @@ write_files:
 |
|
|
permissions: '0755'
 |
|
|
permissions: '0755'
 |
|
|
content: |-
 |
|
|
content: |-
 |
|
|
#!/bin/sh -e
 |
|
|
#!/bin/sh -e
 |
|
|
|
|
|
apt-get update
 |
|
|
|
|
|
apt-get install -y joe iperf unzip openjdk-7-jre-headless
 |
|
|
export JAVA_HOME=/usr/lib/jvm/java-7-openjdk-amd64/jre/
 |
|
|
export JAVA_HOME=/usr/lib/jvm/java-7-openjdk-amd64/jre/
 |
|
|
echo "export JAVA_HOME=/usr/lib/jvm/java-7-openjdk-amd64/jre/" >/etc/profile.d/Z99-java-home.sh
 |
|
|
echo "export JAVA_HOME=/usr/lib/jvm/java-7-openjdk-amd64/jre/" >/etc/profile.d/Z99-java-home.sh
 |
|
|
# setup opendaylight controller
 |
|
|
# setup opendaylight controller
 |
|
|