| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |
|
| |
|
|
|
|
|
|
|
| |
These older functions operate by initiating a connection, returning a file
descriptor, the caller performing some random operation, and then closing
the connection. This new function does everything for you. If the downloaded
file doesn't end up where you want, you'll need to do the move yourself.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Instead of the misleading
21:55:23 INFO : vnc forced cmdline mode from cmdline
21:55:23 INFO : early networking required for syslog
it now prints correctly
21:55:23 INFO : vnc forced graphical mode from cmdline
21:55:23 INFO : early networking required for vnc
The early networking message was introduced solely for syslog in
620bdb978bfe46f96f04865e776edd15728b85d8
but later reused without adaptation also for vnc in
b27dcdc6a37b5429b50579dbf0650e880a95988c.
|
|
|
|
|
| |
Clean up whitespace in chooseNetworkInterface() and make the whole
function use consistent whitespace.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
This is a usability improvment. Once you've booted up the kernel and
initrd on s390x, you are told to ssh in to the host to start the
installation. In the past, we had rigged the root account to launch
loader on the first login and a shell on subsequent logins. In this
patch, I've added an 'install' user that has loader for the shell. The
root user still has bash for the shell. Also change the recommendation
to run 'ssh -X' rather than 'ssh -x'.
|
|
|
|
|
| |
Avoid SIGSEGV in addOption() in loader/modules.c. Just because found
does not equal 0 does not mean we found the module requested.
|
|
|
|
|
| |
Gets rid of the 'FATAL: Module _______ not found' errors in the log
files.
|
|
|
|
|
|
|
| |
Prevents SIGSEGV.
We need to reinitialize stage2Data here too (as for other methods). Also when
going back from Driver Disk Source dialog - go back to hd install dialog
instead of going straight to install method dialog.
|
| |
|
|
|
|
|
|
| |
Remove duplicate search_cu() function in linuxrc.s390, move CU_ data
structures to controlunits.sh and have linuxrc.s390 source
/sbin/controlunits when it runs.
|
| |
|
|
|
|
| |
Adds to Jeremy's 1fbf3c9d8d550fc01ae34528533377adc19d1611.
|
|
|
|
|
|
|
| |
Remove the ANACONDAVERSION environment variable and embed the version
number at build time. The isys.getAnacondaVersion() function returns
the version number to Python code. If need be, it can be extended to
libisys.
|
| |
|
|
|
|
| |
Match up to the silent make thing we have by default now.
|
|
|
|
|
|
|
|
|
|
| |
(#515450)
Going back from method screen was broken with commit
245d1951c40ecb61cee11f3ecc00e483bc8dd142. This patch implements Retry flow differently -
by staying on the Configure TCP/IP screen instead of going there through hacked
(skipped) method screen. The interface can still be changed by going Back
from Configure TCP/IP which is fixed in this patch too.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
We need to clear stage2Data when going back so that
* we don't sigsegv on it later if we change nfs method to url (and also if
we change from url to nfs in case of location specified via ks or boot opts)
* we don't try to fetch stage2 from the location in stage2Data right after
reselecting the method.
Also fixes [C] and [A] from
https://www.redhat.com/archives/anaconda-devel-list/2009-August/msg00043.html
(sigsegv after going Back when incorrect stage2 url is specified via ks or boot
params) which were partly fixed by Jeremy's
ad1e95df0e277442a19f7989afe3bd758cfccb47.
|
|
|
|
| |
so we can correctly free it (#483818)
|
|
|
|
| |
reipl is done correctly for DASD and zFCP in iutil.
|
|
|
|
| |
"(defined(__sparc__) && defined(__arch64__))" fixes building 64 bit sparc
|
|
|
|
| |
api's interfaces
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
We now are specifying stage2= but if they add askmethod, we should
still end up doing the asking. So add the check for stage2 implying
skipping the method dialog under the !askmethod case
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Since we automatically load device drivers in linuxrc.s390 by means of
udev, loader can no longer explicitly load the DASD device driver module
and pass the module option DASD=... in order to activate DASDs
based on the user specification in parm/conf file or interactively in
linuxrc.s390.
This patch does the necessary work in linuxrc.s390 including full
support for usability features such as restarting configuration
without reboot.
In a next step we could remove the DASD module stuff from loader.
It is recommended to use /dev/disk/by-* instead of /dev/dasdXY.
|
|
|
|
|
|
|
|
|
|
|
| |
Fix new step 2 of the following 3 steps of network configuration on s390x:
1) linuxrc.s390 completely configures initial network
(ifconfig, route, /etc/hosts, /etc/resolv.conf)
2) loader starts NM, which in turn reconfigures network based on
/etc/sysconfig/network, /etc/sysconfig/network-scripts/ifcfg-XYZ
3) loader reconfigures network based on /tmp/install.cfg
using NM, which rewrites parts of
/etc/sysconfig/network, /etc/sysconfig/network-scripts/ifcfg-XYZ
|
|
|
|
|
|
|
| |
The GTK used for the GUI in anaconda requires some recent X extensions,
which most probably many clients don't have, so do not suggest using
ssh logins with X11-forwarding but rather suggest explicitly disabled
X11-forwarding so the users may then choose VNC, which works fine.
|
|
|
|
|
|
| |
This test causes it not to reboot if you don't specify anything about
rebooting in kickstart or on the command line. It also treats /all/
installs with "nokill" specified as "halt" installs.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Users booting from CD or DVD media, performing a kickstart install, and
passing network configuration boot parameters were hitting an issue
where loader was insisting on trying to get a DHCP lease to fetch the
kickstart file. Even if you provided 'asknetwork' or 'ip=' settings,
loader was still forcing DHCP at the point where the kickstart file is
downloaded.
This patch makes the 'asknetwork' parameter work if you are booting from
CD or DVD and performing a kickstart install. By default, we would try
DHCP, but asknetwork forces the configureTCPIP() code path to run.
Likewise, if the user boots from media and passes ip=, netmask=,
gateway=, dns=, and ksdevice=, the network is configured using that
information and the kickstart file is downloaded.
|
| |
|
|
|
|
|
| |
We actually need 'i' on everything but s390. The world is not all
mainframes.
|
|
|
|
|
| |
Syntax of shutDown() function changed recently, so make sure we call it
correctly.
|
| |
|
|
|
|
| |
Patch from Steffen Maier.
|
|
|
|
|
|
| |
The new reboot code didn't take into account the fact that there's a
different sigint handler while anaconda is running vs when we're done
installing. This patch fixes that bad assumption.
|
|
|
|
|
|
| |
Rework shutDown() so that we don't do unmounts until we're going to
reboot or power off the machine. Also some minor cleanups like taking
out all the negative-phrasing of "noKill" in the code itself.
|
|
|
|
|
|
| |
Put controlunits.sh in /usr/lib/anaconda-runtime/loader on s390, install
as /sbin/controlunits in the initrd.img, modify linuxrc.s390 to source
/sbin/controlunits.
|
|
|
|
| |
This causes NetworkManager to hang on s390.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This brings linuxrc.s390 and friends to the latest version as posted here
https://www.redhat.com/archives/anaconda-devel-list/2009-February/msg00392.html
plus some updates after that.
Changes:
- update usage of udev to rawhide
- no more telnetd for network login during install
- adapt readcmsfile to automatic loading of device driver modules
- refactor main part into function init_main
- consider renaming of network device driver module from ctc to ctcm
- refactor control unit lookup tables into separate file
- no more rely on kernel versions to detect device driver features
- upstream qeth driver supports IPv6 on HiperSockets in layer3 mode
- no more manual (un)loading of device driver modules
- correctly handle default MAC address for layer2 qeth devices
- no more kill udevd at end of linuxrc.s390
- write network device configuration to correct new place (ifcfg)
Splitting up into single patches is impossible without merge conflicts.
|
|
|
|
|
|
|
|
|
| |
Try to auto-find the CD even if stage2= is specified; this lets us
add stage2= and then the isohybrid'd images can be dd'd to a usb
stick and stage2 gets find there as well as on the CD.
Next step is to be able to get rid of the auto CD finding by
always explicitly specifying stage2=
|
| |
|