scottslowe-learning-tools/lxd-ovs/setup.sh
Scott Lowe 2edf938126 Commit changes for LXD-OVS environment
Commit initial changes for a learning environment using LXD with
Open vSwitch (OVS)
2015-06-02 14:52:15 -06:00

17 lines
413 B
Bash
Executable file

#!/bin/bash
# Initial housekeepting
export DEBIAN_FRONTEND=noninteractive
# Add the PPA repository for LXD/LXC stable
if [[ ! -e /etc/apt/sources.list.d/ubuntu-lxc-lxd-stable-trusty.list ]]; then
sudo add-apt-repository -y ppa:ubuntu-lxc/lxd-stable
fi
# Update package list
sudo apt-get update
# Install LXC/LXD if not already installed
if [[ ! -e /usr/bin/lxd ]]; then
sudo apt-get -y install lxd
fi