#!/bin/bash

lxc delete appSupport --force
lxc launch images:ubuntu/16.04/amd64 appSupport -c security.privileged=true
#lxc launch images:ubuntu/16.04/amd64 appSupport 
lxc config device add appSupport containerRootDevice disk source=/ path=/containerRoot
sleep 10
lxc exec appSupport -- apt-get update
lxc exec appSupport -- apt-get -y install pdftk
sleep 2
lxc restart appSupport
