[Libosinfo] [PATCH] debian,installers: Enable mirror
Fabiano Fidêncio
fidencio at redhat.com
Mon May 16 22:41:52 UTC 2016
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 at redhat.com>
---
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
More information about the Libosinfo
mailing list