@ -307,12 +307,11 @@ fi
if [ "$PROJECT" = "ubuntu-cpc" ] || [ "$PROJECT" = "ubuntu-server" ]; then
if [ "$PROJECT" = "ubuntu-cpc" ] || [ "$PROJECT" = "ubuntu-server" ]; then
cat >> chroot/usr/local/sbin/unminimize <<'EOF'
cat >> chroot/usr/local/sbin/unminimize <<'EOF'
# installing LXD using the lxd-installer by invoking it
lxd --version
echo "Removing lxd installer package..."
echo "Removing lxd installer package..."
apt-get purge -y lxd-installer
apt-get purge -y lxd-installer
. /etc/os-release
echo "Installing lxd from snap from stable/ubuntu-$VERSION_ID channel"
snap install --channel="stable/ubuntu-$VERSION_ID" lxd
EOF
EOF
fi
fi
cat >> chroot/usr/local/sbin/unminimize <<'EOF'
cat >> chroot/usr/local/sbin/unminimize <<'EOF'