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