On Tue, May 17, 2016 at 7:43 AM, Fabiano Fidêncio <fidencio@xxxxxxxxxx> wrote: > Currently, after completing the installation, the users are not able to > install any software in the VM as the only entry in > /etc/apt/sources.list is the installation media itself. > > Also, desktop installation's profile is broken as qemu-guest-agent is > not part of the installation media and we have no mirror set up for > downloading the package from. > > Let's fix these issues by simply forcing the mirror to be enabled, as > its state depends on the installation method used. > > Resolves: > https://bugzilla.redhat.com/show_bug.cgi?id=1336110 > https://bugzilla.redhat.com/show_bug.cgi?id=1336111 > > Signed-off-by: Fabiano Fidêncio <fidencio@xxxxxxxxxx> > --- > data/install-script/debian.org/debian-preseed-desktop.xml.in | 1 + > data/install-script/debian.org/debian-preseed-jeos.xml.in | 1 + > 2 files changed, 2 insertions(+) > > diff --git a/data/install-script/debian.org/debian-preseed-desktop.xml.in b/data/install-script/debian.org/debian-preseed-desktop.xml.in > index b9e1da7..d1d18ac 100644 > --- a/data/install-script/debian.org/debian-preseed-desktop.xml.in > +++ b/data/install-script/debian.org/debian-preseed-desktop.xml.in > @@ -161,6 +161,7 @@ d-i partman/confirm boolean true > > > ### Apt > +d-i apt-setup/use_mirror boolean true > d-i apt-setup/security_host string > d-i apt-setup/services-select multiselect > d-i apt-setup/volatile_host string > diff --git a/data/install-script/debian.org/debian-preseed-jeos.xml.in b/data/install-script/debian.org/debian-preseed-jeos.xml.in > index 9b5f298..5065c70 100644 > --- a/data/install-script/debian.org/debian-preseed-jeos.xml.in > +++ b/data/install-script/debian.org/debian-preseed-jeos.xml.in > @@ -106,6 +106,7 @@ tasksel tasksel/first multiselect standard ssh-server > d-i grub-installer/only_debian boolean false > d-i grub-installer/bootdev string <xsl:call-template name="target-disk"/> > > +d-i apt-setup/use_mirror boolean true > d-i apt-setup/security_host string > d-i apt-setup/services-select multiselect > d-i apt-setup/volatile_host string > -- > 2.7.4 > Self-NACK the patch. Apart from adding the mirror, we also need to actually remove the cdrom entry from /etc/apt/sources.list, otherwise the user will be asked to insert the cdrom when trying to install a package. A v2 is coming soon with this issue fixed. _______________________________________________ Libosinfo mailing list Libosinfo@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libosinfo