After reinstalling the xlxc bash scripts, perform this task to upgrade or downgrade a vSLX container installation—preserving your vSLX objects and configurations.
Note
This flow installs new vSLX and SLX-OS versions—while maintaining support for existing and new objects of currently installed SLX-OS versions. But if you need a clean upgrade, refer to Uninstalling vSLX completely.(vsh) poweroff ch_9540_01
root@VLAB1:~# ls /slxos-dist extreme-lxc_2.1.0.deb slxos18r.2.00 slxos18r.2.00.tar.gz vslx_2.1.0.deb vslx2.1.0.tar.gz
Note
You can also list included directories.root@VLAB1:~# ping example.com
root@VLAB1:~$ sudo dpkg -r vslx
root@VLAB1:/slxos-dist# sudo dpkg -i /slxos-dist/vslx_2.1.0.deb Selecting previously unselected package vslx. (Reading database ... 13616 files and directories currently installed.) Preparing to unpack ./vslx_2.1.0.deb ... Unpacking vslx (2.1.0) ... Setting up vslx (2.1.0) ...
root@VLAB1:~# /VM/postinst-setup.sh Get:1 http://security.ubuntu.com/ubuntu xenial-security InRelease [102 kB] Hit:2 http://archive.ubuntu.com/ubuntu xenial InRelease Get:3 http://archive.ubuntu.com/ubuntu xenial-updates InRelease [102 kB] Fetched 204 kB in 1s (202 kB/s) Reading package lists... Done Reading package lists... Done
vlab1_user@ubuntu:~$ sudo xlxc stop VLAB1 vlab1_user@ubuntu:~$ sudo xlxc start VLAB1
user@ubuntu1:~$ dpkg --get-selections | grep vslx vslx install user@ubuntu1:~$ dpkg --get-selections | grep extreme-lxc extreme-lxc install