anaconda: do not start network during install
This commit is contained in:
parent
a3970b15fd
commit
da044ddca2
@ -67,9 +67,9 @@ def doConfiguration(storage, payload, ksdata, instClass):
|
||||
ksdata.firewall.execute(storage, ksdata, instClass)
|
||||
ksdata.xconfig.execute(storage, ksdata, instClass)
|
||||
|
||||
if not flags.flags.imageInstall:
|
||||
with progress_report(_("Writing network configuration")):
|
||||
ksdata.network.execute(storage, ksdata, instClass)
|
||||
#if not flags.flags.imageInstall:
|
||||
# with progress_report(_("Writing network configuration")):
|
||||
# ksdata.network.execute(storage, ksdata, instClass)
|
||||
|
||||
# Creating users and groups requires some pre-configuration.
|
||||
with progress_report(_("Creating users")):
|
||||
|
@ -830,7 +830,7 @@ def write_sysconfig_network(rootpath, ksdata, overwrite=False):
|
||||
|
||||
f = open(cfgfile, "w")
|
||||
f.write("# Generated by anaconda\n")
|
||||
f.write("NETWORKING=yes\n")
|
||||
f.write("NETWORKING=no\n")
|
||||
|
||||
gateway = ipv6_defaultgw = None
|
||||
for iface in reversed(getDevices()):
|
||||
@ -967,7 +967,8 @@ def wait_for_dhcp():
|
||||
|
||||
def update_hostname(ksdata, hostname=None):
|
||||
if not hostname:
|
||||
hostname = getHostname()
|
||||
# Default to 'dom0' in Qubes
|
||||
hostname = 'dom0'
|
||||
log.debug("updating hostname %s" % hostname)
|
||||
hostname_found = False
|
||||
for nd in ksdata.network.network:
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -27,6 +27,7 @@ systemctl disable systemd-readahead-collect.service \
|
||||
systemd-readahead-replay.service \
|
||||
mdmonitor.service \
|
||||
mdmonitor-takeover.service \
|
||||
NetworkManager.service \
|
||||
lvm2-monitor.service
|
||||
## These services can't be disabled normally (they're linked into place in
|
||||
## /usr/lib/systemd rather than /etc/systemd), so we have to mask them.
|
||||
|
Loading…
Reference in New Issue
Block a user