Comment 24 for bug 1723480

Revision history for this message
Frode Nordahl (fnordahl) wrote :

$ lxc launch ubuntu: x && lxc exec x bash
Creating x
Starting x
root@x:~# add-apt-repository cloud-archive:ocata
root@x:~# apt update
root@x:~# apt install openvswitch-switch
root@x:~# :> /etc/default/openvswitch-switch
root@x:~# stat /etc/default/openvswitch-switch
  File: '/etc/default/openvswitch-switch'
  Size: 0 Blocks: 0 IO Block: 4096 regular empty file
Device: fd01h/64769d Inode: 14861432 Links: 1
Access: (0644/-rw-r--r--) Uid: ( 0/ root) Gid: ( 0/ root)
Access: 2017-10-20 08:43:11.595289966 +0000
Modify: 2017-10-20 08:43:18.263835448 +0000
Change: 2017-10-20 08:43:18.263835448 +0000
 Birth: -
root@x:~# add-apt-repository cloud-archive:ocata-proposed
root@x:~# apt update
root@x:~# apt upgrade
...
Configuration file '/etc/default/openvswitch-switch'
 ==> Modified (by you or by a script) since installation.
 ==> Package distributor has shipped an updated version.
   What would you like to do about it ? Your options are:
    Y or I : install the package maintainer's version
    N or O : keep your currently-installed version
      D : show the differences between the versions
      Z : start a shell to examine the situation
 The default action is to keep your current version.
*** openvswitch-switch (Y/I/N/O/D/Z) [default=N] ?
...
root@x:~# stat /etc/default/openvswitch-switch
  File: '/etc/default/openvswitch-switch'
  Size: 237 Blocks: 8 IO Block: 4096 regular file
Device: fd01h/64769d Inode: 14861432 Links: 1
Access: (0644/-rw-r--r--) Uid: ( 0/ root) Gid: ( 0/ root)
Access: 2017-10-20 08:43:52.358653191 +0000
Modify: 2017-10-20 08:43:52.110632535 +0000
Change: 2017-10-20 08:43:52.110632535 +0000
 Birth: -
root@x:~#