51
50
sudo apt-get install software-properties-common -y
52
51
sudo apt-add-repository ppa:juju/stable -y
53
52
sudo apt-add-repository ppa:maas/stable -y
54
if [ "bionic" == "$opnfvdistro" ]; then
55
echo "no cloud archive needed"
57
sudo apt-add-repository cloud-archive:pike -y
53
sudo apt-add-repository cloud-archive:pike -y
60
54
if [ "aarch64" == "$NODE_ARCTYPE" ]; then
61
if [ "bionic" == "$opnfvdistro" ]; then
62
echo "no repository needed"
64
sudo add-apt-repository ppa:ubuntu-cloud-archive/pike-staging -y
55
sudo add-apt-repository ppa:ubuntu-cloud-archive/pike-staging -y
67
57
sudo apt-get update -y || true
68
58
#sudo apt-get dist-upgrade -y
70
if [ "bionic" == "$opnfvdistro" ]; then
71
sudo apt-get install bridge-utils openssh-server bzr git virtinst qemu-kvm libvirt-bin \
72
maas maas-region-controller juju python-pip python-psutil python-openstackclient \
73
python-congressclient gsutil pastebinit python-jinja2 sshpass \
74
openssh-server vlan ipmitool jq expect snap -y --allow-unauthenticated
75
sudo snap install charm
77
sudo apt-get install bridge-utils openssh-server bzr git virtinst qemu-kvm libvirt-bin \
60
sudo apt-get install bridge-utils openssh-server bzr git virtinst qemu-kvm libvirt-bin \
78
61
maas maas-region-controller juju python-pip python-psutil python-openstackclient \
79
62
python-congressclient gsutil charm-tools pastebinit python-jinja2 sshpass \
80
63
openssh-server vlan ipmitool jq expect snap -y --allow-unauthenticated
83
65
if [ "aarch64" == "$NODE_ARCTYPE" ]; then
84
66
sudo apt-get install qemu qemu-efi qemu-system-aarch64 -y --allow-unauthenticated