| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |
|
| |
|
| |
|
|
|
|
|
|
| |
libuser checks the LIBUSER_CONF environmental variable and uses the
temporary config file it points to, but in order for this to work it
must be set before User() is run.
|
|
|
|
|
|
| |
Since we now use "en.UTF-8" as language instead of "en", we need
to reflect this also in expand_langs. Otherwise e.g. using 'lang en'
in kickstart wouldn't work.
|
|
|
|
| |
It doesn't make sense and causes hang.
|
|
|
|
|
|
| |
When using e.g. 'cs' as $LANG value, gettext tries to encode translated
strings with latin-1 encoding which leads to tracebacks. Using 'cs.UTF-8'
works.
|
|
|
|
| |
We need it for the live installation.
|
| |
|
|
|
|
|
|
| |
Lorax installs these packages for us, but not as Anaconda dependecies,
so if somebody does a compose without using Lorax, these packages might
be missing.
|
|
|
|
|
|
| |
This goes with a lorax patch that keeps the file around. Since dracut
doesn't expose these files via /run/ anymore we have to keep around the
file(s) we want to use from stage2 environment.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
liveinst:
use /dev/mapper/live-osimg-min as the install source. This is the original
filesystem before changes made by the live boot scripts.
updates overwrite unconditionally
anaconda:
handle livecd: method, set method to 'livecd' and partition to the path.
packaging:
Move new-kernel-pkg creation into a helper method, _recreateInitrds
Add a flag to prevent running new-kernel-pkg more than once
livepayload:
mount the install source on INSTALL_TREE and rsync it to the ROOT_PATH
Don't use verbose with rsync, results in huge program.log and slows
down install. Error will be logged.
Ignore rsync errors. It has problems with selinux xattrs. Log the
return value, but continue.
Call _recreateInitrds to create the initrd (#853988)
|
|
|
|
|
|
|
|
|
|
|
|
| |
This provides a way to opt-out of the check for existing mounted media.
If a user has gone into the source spoke and picked a mirror, we
shouldn't ignore that choice by checking for valid mounted media.
In the case of a network stage2 that has a valid repo, we'll find that
when the hub / spokes are initialized. If a user visits the source
spoke and just clicks back (leaving autodetect selected, but no media)
we just return from apply() so that initial discovery of working stage2
should remain.
|
| |
|
|
|
|
|
|
| |
The new option, which can be a boot arg or an option to kickstart's
packages section, is --multilib. What it does is set yum's
multilib_policy to "all". The default is "best".
|
|
|
|
|
|
|
| |
We were doing reboots before because there was not an obvious reboot/shutdown
button anywhere in the live environment. However, that is no longer the case.
I've left the end of installation as reboot because it's clearly labeled as
such and we shouldn't break the string now.
|
| |
|
|
|
|
|
|
| |
This only used to work because we ran all the btrfs/lvm/raid stuff before
we allocated partitions. At that point, the "pv.XX" names are no longer
valid and have been replaced by things like "sdX".
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
E.g. allow DVD installs without network.
|
| |
|
|
|
|
| |
Resolves: rhbz#853308
|
|
|
|
|
|
| |
This gets rid of storage references.
Related: rhbz#853308
|
|
|
|
|
|
|
|
| |
Turns out that while pykickstart objects will default to the lock being
False, there is an interactive-defaults.ks that is being loaded by
anaconda, and in /that/ file the root is default to --lock. Since we're
setting a password, it makes sense to ensure that the account is not
locked.
|
|
|
|
|
| |
Network Manager has split this out into its own rpm, built from the
network-manager-applet package.
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
isys.vtActivate is problematic when using tmux, chvt command works
well and we use it so rarely that it should be okay to call an
external command.
|
| |
|
|
|
|
|
| |
This leaves the index in for now, because we haven't yet decided what
identifying information to display instead.
|
| |
|
|
|
|
|
| |
We now use ksdata and execute methods for storing and writing
configuration.
|
|
|
|
|
| |
We no longer use lang-table for anything. localeinfo.py is module for
accessing data from lang-table.
|
|
|
|
|
|
|
|
|
|
| |
This is kind of silly, since IPV6_AUTOCONF=yes is the default (according
to sysconfig.txt from 'initscripts'). But it might not always be the
default, so let's just make sure we do what the user wants.
Also, it's not our job to set policy; if DHCPV6C=yes should disable
IPV6_AUTOCONF that's up to initscripts/NetworkManager. So leave it alone
otherwise.
|
|
|
|
| |
It turns out IPV6INIT defaults to "no", so we need to set this.
|
| |
|
|
|
|
|
| |
os.symlink(target, link_name) fails if the link_name already exists. So try to
remove it first.
|
|
|
|
|
| |
Writing NTP configuration is not so important that it should stop the
post-installation steps. Warning in the log should be more appropriate.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
This means you can't alt-tab away from the spoke and do stuff on the hub
and really confuse anaconda.
|
| |
|
| |
|
| |
|