$ lxc launch images:ubuntu/artful a Creating a Starting a $ lxc exec a bash root@a:~# apt update && apt -y upgrade && apt -y install openvswitch-switch ... root@a:~# :> /etc/default/openvswitch-switch root@a:~# stat /etc/default/openvswitch-switch File: /etc/default/openvswitch-switch Size: 0 Blocks: 0 IO Block: 4096 regular empty file Device: fd01h/64769d Inode: 14759150 Links: 1 Access: (0644/-rw-r--r--) Uid: ( 0/ root) Gid: ( 0/ root) Access: 2017-10-19 12:28:08.390586355 +0000 Modify: 2017-10-19 12:28:59.531127160 +0000 Change: 2017-10-19 12:28:59.531127160 +0000 Birth: - root@a:~# echo "deb http://archive.ubuntu.com/ubuntu artful-proposed main restricted universe multiverse" >> /etc/apt/sources.list root@a:~# apt update && apt -y upgrade ... root@a:~# stat /etc/default/openvswitch-switch File: /etc/default/openvswitch-switch Size: 0 Blocks: 0 IO Block: 4096 regular empty file Device: fd01h/64769d Inode: 14759150 Links: 1 Access: (0644/-rw-r--r--) Uid: ( 0/ root) Gid: ( 0/ root) Access: 2017-10-19 12:29:31.751451121 +0000 Modify: 2017-10-19 12:28:59.531127160 +0000 Change: 2017-10-19 12:28:59.531127160 +0000 Birth: - root@a:~#
$ lxc launch images: ubuntu/ artful a openvswitch- switch openvswitch- switch openvswitch- switch archive. ubuntu. com/ubuntu artful-proposed main restricted universe multiverse" >> /etc/apt/ sources. list openvswitch- switch openvswitch- switch
Creating a
Starting a
$ lxc exec a bash
root@a:~# apt update && apt -y upgrade && apt -y install openvswitch-switch
...
root@a:~# :> /etc/default/
root@a:~# stat /etc/default/
File: /etc/default/
Size: 0 Blocks: 0 IO Block: 4096 regular empty file
Device: fd01h/64769d Inode: 14759150 Links: 1
Access: (0644/-rw-r--r--) Uid: ( 0/ root) Gid: ( 0/ root)
Access: 2017-10-19 12:28:08.390586355 +0000
Modify: 2017-10-19 12:28:59.531127160 +0000
Change: 2017-10-19 12:28:59.531127160 +0000
Birth: -
root@a:~# echo "deb http://
root@a:~# apt update && apt -y upgrade
...
root@a:~# stat /etc/default/
File: /etc/default/
Size: 0 Blocks: 0 IO Block: 4096 regular empty file
Device: fd01h/64769d Inode: 14759150 Links: 1
Access: (0644/-rw-r--r--) Uid: ( 0/ root) Gid: ( 0/ root)
Access: 2017-10-19 12:29:31.751451121 +0000
Modify: 2017-10-19 12:28:59.531127160 +0000
Change: 2017-10-19 12:28:59.531127160 +0000
Birth: -
root@a:~#