More by stgraber
[email protected]:~/delta$ ls -lh existing/ total 93M -rw-r--r-- 1 stgraber domain admins 668 Aug 18 02:04 lxd.tar.xz -rw-r--r-- 1 stgraber domain admins 93M Aug 18 02:04 rootfs.squashfs [email protected]:~/delta$ # The existing image is the previous Ubuntu Xenial am[email protected]:~/delta$ # It's 93MB large [email protected]:~/delta$ # Let's update it! [email protected]:~/delta$ time ./delta found available delta: 358aaa6ecad0ba8f98bf69831a5aabc69b3973b07067b279db67ea109downloaded: meta (668B), rootfs (17.57MB) real 0m1.784s user 0m0.510s sys 0m0.323s [email protected]:~/delta$
LXD delta image download 01:04
by stgraber[email protected]:~# cat /proc/cpuinfo | grep processor processor : 0 [email protected]:~# free -m total used free shared buff/cache available Mem: 1024 76 942 17 4 942 Swap: 8191 0 8191 [email protected]:~# exit [email protected]:~$ # Or a GCE n1-highcpu-16 [email protected]:~$ lxc launch ubuntu:16.04 c2 -t n1-highcpu-16 Creating c2 Starting c2 [email protected]:~$ lxc config show c2 | grep limits limits.cpu: "16" limits.memory: 14745MB [email protected]:~$ # If you want to be sure there can't be a conflict as new defin
LXD instance types 03:05
by stgraberDo you want to continue? [Y/n] (Reading database ... 59852 files and directories currently installed.) Removing lxd (2.0.10-0ubuntu1~16.04.1) ... Warning: Stopping lxd.service, but it can still be activated by: lxd.socket Purging configuration files for lxd (2.0.10-0ubuntu1~16.04.1) ... Failed to stop lxd.service: Unit lxd.service not loaded. dpkg: warning: while removing lxd, directory '/var/lib/lxd' not empty so not remRemoving lxd-client (2.0.10-0ubuntu1~16.04.1) ... Processing triggers for man-db (2.7.5-1) ... [email protected]:~# # And replace them with the snap package [email protected]:~# snap install lxd lxd 2.17 from 'canonical' installed [email protected]:~# # This gets us LXD 2.17, the latest upstream release [email protected]:~#