Validated yakkety and zesty: $ release=yaketty $ ref=$release-proposed $ ./lxc-proposed-snapshot --proposed --publish $release $ref Creating yakkety-proposed $ lxc init $ref $name $ lxc start $name $ sleep 10 $ lxc exec $name apt install grub-legacy-ec2 $ lxc exec $name mv /etc/fstab /etc/fstab.orig $ lxc exec $name dpkg-reconfigure grub-legacy-ec2 Searching for GRUB installation directory ... found: /boot/grub Cannot determine root device. Assuming /dev/hda1 This error is probably caused by an invalid /etc/fstab Searching for default file ... found: /boot/grub/default Testing for an existing GRUB menu.lst file ... found: /boot/grub/menu.lst Searching for splash image ... none found, skipping ... Updating /boot/grub/menu.lst ... done
$ lxc exec $name dpkg-reconfigure grub-legacy-ec2 2>&1 | grep fatal $ $ lxc exec $name -- dpkg -l cloud-init ii cloud-init 0.7.9-113-g5 all Init scripts for cloud instances csmith@fringe:~$ lxc exec $name -- cat /etc/os-release | grep VERSION= VERSION="16.10 (Yakkety Yak)"
$ release=zesty $ ref=$release-proposed $ ./lxc-proposed-snapshot --proposed --publish $release $ref Creating zesty-proposed $ lxc init $ref $name $ lxc start $name $ sleep 10 $ lxc exec $name apt install grub-legacy-ec2 $ lxc exec $name mv /etc/fstab /etc/fstab.orig $ lxc exec $name dpkg-reconfigure grub-legacy-ec2 Searching for GRUB installation directory ... found: /boot/grub Cannot determine root device. Assuming /dev/hda1 This error is probably caused by an invalid /etc/fstab Searching for default file ... found: /boot/grub/default Testing for an existing GRUB menu.lst file ... found: /boot/grub/menu.lst Searching for splash image ... none found, skipping ... Updating /boot/grub/menu.lst ... done
$ lxc exec $name dpkg-reconfigure grub-legacy-ec2 2>&1 | grep fatal $ $ lxc exec $name -- dpkg -l cloud-init ii cloud-init 0.7.9-113-g5 all Init scripts for cloud instances csmith@fringe:~$ lxc exec $name -- cat /etc/os-release | grep VERSION= lxc exec $name -- grep VERSION /etc/os-release VERSION="17.04 (Zesty Zapus)"
Validated yakkety and zesty: proposed snapshot --proposed --publish $release $ref
$ release=yaketty
$ ref=$release-
$ ./lxc-proposed-
Creating yakkety-proposed
$ lxc init $ref $name
$ lxc start $name
$ sleep 10
$ lxc exec $name apt install grub-legacy-ec2
$ lxc exec $name mv /etc/fstab /etc/fstab.orig
$ lxc exec $name dpkg-reconfigure grub-legacy-ec2
Searching for GRUB installation directory ... found: /boot/grub
Cannot determine root device. Assuming /dev/hda1
This error is probably caused by an invalid /etc/fstab
Searching for default file ... found: /boot/grub/default
Testing for an existing GRUB menu.lst file ... found: /boot/grub/menu.lst
Searching for splash image ... none found, skipping ...
Updating /boot/grub/menu.lst ... done
$ lxc exec $name dpkg-reconfigure grub-legacy-ec2 2>&1 | grep fatal
$
$ lxc exec $name -- dpkg -l cloud-init
ii cloud-init 0.7.9-113-g5 all Init scripts for cloud instances
csmith@fringe:~$ lxc exec $name -- cat /etc/os-release | grep VERSION=
VERSION="16.10 (Yakkety Yak)"
$ release=zesty proposed snapshot --proposed --publish $release $ref
$ ref=$release-
$ ./lxc-proposed-
Creating zesty-proposed
$ lxc init $ref $name
$ lxc start $name
$ sleep 10
$ lxc exec $name apt install grub-legacy-ec2
$ lxc exec $name mv /etc/fstab /etc/fstab.orig
$ lxc exec $name dpkg-reconfigure grub-legacy-ec2
Searching for GRUB installation directory ... found: /boot/grub
Cannot determine root device. Assuming /dev/hda1
This error is probably caused by an invalid /etc/fstab
Searching for default file ... found: /boot/grub/default
Testing for an existing GRUB menu.lst file ... found: /boot/grub/menu.lst
Searching for splash image ... none found, skipping ...
Updating /boot/grub/menu.lst ... done
$ lxc exec $name dpkg-reconfigure grub-legacy-ec2 2>&1 | grep fatal
$
$ lxc exec $name -- dpkg -l cloud-init
ii cloud-init 0.7.9-113-g5 all Init scripts for cloud instances
csmith@fringe:~$ lxc exec $name -- cat /etc/os-release | grep VERSION=
lxc exec $name -- grep VERSION /etc/os-release
VERSION="17.04 (Zesty Zapus)"