hiya
Goesta Smekal wrote:
Henning Sprang schrieb:
I think some people are using and doing this, without talking too
much about it.
Jep. Like me. Installing Ubuntu from a Debian Server is a bit tricky,
I tried ... and failed. Main reason was that the ubuntu debootstrap and
the debian
hiya
I'd like fai to decide which packages to install on a given host to be a
bit more customizable. At least I think so. There may be a different
way, which I'm to blind to see.
[Note: I'm using the same config-space for debian / ubuntu / 32bit /
64bit. I'm using 4 different nfsroots for
hiya
I'm installing XenSource VMs via FAI with Debian and Ubuntu. Since grub
doesn't recognize paravirtualized kernels (when being run from a regular
kernel such as 2.6.18-6-486) I scripted some actions to manually provide a
correct configuration. (among other stuff)
There's a small hack I had
hiya
venne schrieb:
I'd like to execute the script at the beging of FAI process.(to make
choice about PKI, IP and user's informations) is it possible?
A colleague of mine wrote a perl script which retrieves the hostname, the
server's domainname and it's service from a database and this script
hiya
(Background information: I'm using FAI to install servers. I don't know
how I would base my decision if these were client systems or cluster
nodes. I do not want to state an ultimate truth, just what is the most
useful for our environment. )
venne schrieb:
But, installing more than a 1000
hiya
Holger Parplies schrieb:
I've to give something to identify my client. but, how and where?
well, normally it's the ethernet cards MAC address which is translated
into an IP address by DHCP. Non-interactively. You can easily do any
individual configuration on a per hostname basis if you
venne schrieb:
Another possibility would be booting via PXE/syslinux
PXE is depending from NIC. I'd like to by pass that.
Uhm. Please clarify. I do not understand.
there. Actually it's the same mechanism that fai is using to determine
whether to start sshd, create virtual terminals, be
Steffen Grunewald schrieb:
do I have to do 2 differents install?
I guess you could tweak the final FAI step (which would end in a reboot,
after *removing* the PXE file on the server) so that it doesn't remove
but replace the file, then reboot. (Hooks are your friends.)
You may introduce some
Jean Spirat schrieb:
All my tests works well but i have a failure when i try to install a
host with two ethernet cards. The dhcp and tftp runs on the eth1
network and it works fine. But the issue is that the fai kernel when
loaded bring not eth1 but eth0.
[...]
to add a little more
hiya
Nikola KneževiÄ schrieb:
does anyone has a tip/trick how to do one-time net-install.
see attached file. It is our default pxelinux.cfg file. (hostname of our
faiserver has been replaced with a placeholder, apart from that no
modifications)
Every server boots from net by default. On
hiya
I'm toying around with 3.2.13/lenny and I noticed that the logical and
patch to /usr/sbin/install_packages is not included. I was wondering if
there is a specific reason why it isn't added or is this patch just under
the radar?
tschüß
thomas
hiya
Thomas Lange schrieb:
On Thu, 30 Oct 2008 14:02:14 +0100 (CET), Thomas Neumann
[EMAIL PROTECTED] said:
and put it into CLASSNAME.tar.gz in the configspace/basefiles
That seems quite nice, but task_extrbase expects /var/tmp/base.tgz
and nothing else. (FAI 3.2.14) [Or is CLASSNAME.tgz
hiya
Is it still possible to use the disk1 notation in order to refer to disk
devices in conjunction with setup-storage?
The manpage gives the following example:
Simple LVM example
disk_config sda bootable:1
primary/boot 500 ext3 rw
primary- 4096- -
hiya
The following subroutine is broken. (At least in Debian Lenny.)
task_extrbase() {
local fs=$FAI_ROOT/etc/fstab
local basefile=/var/tmp/base.tgz
echo Unpacking Debian base archive
# copy the base file class based if it exists
[ -d $FAI/basefiles ] ftar -1v -s
hiya
kegstand schrieb:
deb http://apt-proxy:/debian lenny main contrib non-free
deb http://apt-proxy:/fai lenny koeln
deb http://apt-proxy:/debian-security lenny/updates main contrib non-free
deb file:/files packages/
during fai-setup, I don't see it:
Ign file: packages/
Michael Tautschnig schrieb:
I'm afraid that you need to investigate further, and it seems like nobody ever
encountered that error before, so I don't see too many ways to help you.
Suddenly I feel very special. ;)
What I would do:
Hack debootstrap (the main script) and add set -e -v -x to
hiya
Thomas Neumann schrieb:
debootstrap completes with the following message:
I: Base system installed successfully.
but the return value is 141 not 0. task_error trips on this.
This patch makes Debian Etch and Debian Lenny debootstrapable again.
Didn't test with other distros or Debian Sid
hiya
Michael Tautschnig schrieb:
There must be something wrong with your /etc/kernel-img.conf, which is copied by
the hook instsoft.FAIBASE (so you must have the class FAIBASE defined for this
to work). Either you are missing it entirely, or it doesn't have do_initrd =
yes. Well, then there is
[mail resent, picked wrong sender address]
hiya
Nikola schrieb:
[...]
On my site, DHCP and TFTP/FAI are on two different servers. Also, in
pxelinux.cfg/ file, there is ip=dhcp line.
Since the kernel parameters are: nfsroot=/srv/fai/nfsroot, I assume
this is causing the problem?
Ryan Steele schrieb:
Ingo Wichmann wrote:
Ryan Steele schrieb:
processed in a certain order, or at the same time? In other words,
are they processed based on the lexical ordering of their names (e.g.
CLASSA comes before CLASSZ, CLASS1 comes before CLASS2, etc.), or
some other criteria? As
(Seems I was wrong. Well you learn something new every day. =) )
Ryan Steele schrieb:
package_config/CLASS2:
PACKAGES aptitude INSTALL_FIRST
locales
belocs-locales-bin
util-linux-locales
PACKAGES aptitude
package-that-depends-on-locales-being-set
hiya
How can I get more information on what's going on from install_packages?
Is there a better way besides set -x and echo?
There's something fishy going on and I don't know what triggers it.
During a Debian installation i_p tries to call yast and install
kernel-xenpae. The only time this
hiya
Thomas Lange schrieb:
There's something fishy going on and I don't know what triggers it.
During a Debian installation i_p tries to call yast and install
kernel-xenpae. The only time this package is mentioned in my config
space is in package_config/DEFAULT - but in a way that it should
hiya
I've rewritten fai-do-scripts a bit, so that it shows the current
script's runtime if $verbose is set. I found it quite useful in
order to single out time-hoggers and streamline my installation procedure.
tschüß
thomas
--- original/live/filesystem.dir/usr/bin/fai-do-scripts 2008-10-28
hiya
Henning Sprang schrieb:
hmm, thanks, that diff made it work, but i also deleted and re-added
the newline at the end of that line.
diff --git a/scripts/FAIBASE/40-misc b/scripts/FAIBASE/40-misc
index 3424a84..5aba74c 100755
--- a/scripts/FAIBASE/40-misc
+++ b/scripts/FAIBASE/40-misc
@@
hiya
[I had to push participation in this mailing list aside for quite some
time, trying to catch up]
Henning Sprang wrote:
Russ Allbery wrote:
Hm, that's interesting -- I didn't think about trying that route. How
do I specify a different base.tgz to unpack in the newly created file
system?
Henning Sprang wrote:
Thomas Neumann wrote:
vg data disk1.3
Do you guess or do you use that?
I'm using it for quite some time now. If you really want you can have a
look through this list archive. I think Thomas (the other one) told me
this is what I want/need back then.
/dev/hda
/dev
hiya
Debian GNU/Linux 4.0 demohost tty1
demohost Login:
I tried many combination of user name and password but could not do login
what is the default username and password ?
Maybe you should have tried reading the documentation instead. Especially
how to configure the base installation.
hiya
1. Installing a kernel using a class and PACKAGES aptitude fails with
a message about a missing initrd = yes statement in
${target}/etc/kernel-img.conf
[...]
I worked around this problem by creating this custom script to install
the kernel later:
Why don't you use the hooks?
1)
hiya
For whatever reason this has happened: it shouldn't. There could be
several reasons to have multiple bootable devices (e.g. different
OSes), and they should be selectable in the BIOS.
[...]
As long as we stay with grub (I have no other suggestion to make),
booting different operating
hiya
Peter Bittner schrieb:
(Sorry in advance if this question is completely basic and I should have
found out myself... I didn't find a solution in the documentation.)
I need to set up a FAI server that provides a - what I believe - rather
flexible installation service based on profiles,
If you've got that far, then the rest is easy. Just let the tftpserver
supply an additional parameter (like FAI_PROFILE=DESKTOP) and use this
parameter in a class/ script to define the according classes.
Right. I believe I would do this with the fai-chboot command. I can't
see an option
hiya
$kernelmodules is the right way to do this, but not in
FAIBASE.var. The variable is used in 20-hwdetect.source, which is
executed before FAIBASSE.var is sourced. You can just edit your
20-hwdetect.source script and add modules there to $kernelmodules.
Is there a correct way to provide
On Wed, 30 Sep 2009 12:03:27 +0200, Leen Smit
If you want to install a 64bit system on your client, you must boot a
64bit kernel and use a 64bit nfsroot during the installation. Have a
look at your fai.log if this is correct in your environment.
64bit nfsroot can install 64 and 32 bit clients
hiya
And how does make-nfsroot determine wether to install 64 bit nfsroot??
I've been following these guides :
It's been a long time (3.2.4?) since I build my nfs roots, but I think I
did these steps:
- install a Debian box manually with 64 bit arch
- add fai repositories if necessary
- setup
hiya
I've found that a clean roll-put with lenny wont work, im getting
kernel panics errors again. But is probably due to missing modules for
our bnx2 networkcards.
Are you using Debian nfsroots? - Have you tried installing the package
firmware-bnx2 into the nfsroot, updating the initrd and
hiya
Is there a correct way to provide variables to scripts in class/ ?
[...]
If you name your script 00foobar.source it will be executed first _and_
sourced, therefore all variable definitions from 00foobar.source will
also be visible in all other scripts. You might need to export the
If you name your script 00foobar.source it will be executed first _and_
sourced, therefore all variable definitions from 00foobar.source will
also be visible in all other scripts. You might need to export the
variable to have it available in the entire FAI run, but that I'm not
sure of.
hiya
contents of /srv/fai/config/class/01-init.source
---
#!/bin/bash
TESTVAR=foobar
export TESTVAR
---
So ... does that work? IMHO it should, but as Michael Goetze said, you
probably cannot do more than this, like use $TESTVAR in some *.var files
or somewhere later on. Could you
On 09/30/2009 12:11 AM, Jean Spirat wrote:
I think you don't use a proper hook. Let me try to elaborate:
- Create a disk config disk_config/SOMETHING that has ##HOSTNAME## in the
places
you'd like to see $HOSTNAME to be replaced.
- Add a hook hooks/partition.DEFAULT that does the
hiya
lib/fai/subroutines:
echo WARNING: Skipping $hfile execustion because it's not executable.
echo WARNING: Skipping $hfile.source execustion because it's not
executable.
lib64/fai/subroutines:
echo WARNING: Skipping $hfile execustion because it's not executable.
echo WARNING: Skipping
[resend because of wrong sender address -_-;;]
hiya
[execustion]
O.K., but what do you want tp point us to?
The typo?
Yes.
tschüß
thomas
hiya
Currently I am evaluating bfcg2 and puppet, both the next generation
cfengine to be. The Idea is to install a base system with preseeding and
let bcfg2/puppet do the rest. The outcome should be a simple (quick)
rollout, a consistent configuration based on rules. And changes of the
I've successfully updated our setup from 3.2.20 to 3.3. Had to update my
install_packages patch but apart from that everything runs fine without
a change.
Just curious: What kind of patch are you maintaining? Would it be worth to
be included in mainline?
- treat classes in package_config as
- treat classes in package_config as logical and instead of or
As reported in #479537 [1]? This patch is included in experimental.
Yes. But experimental and production use doesn't match up.
- support zypper as an installation method
There is a request in #514160 [2]. Thomas asked for more
hiya
Generally speaking, you should have one template /etc/network/interfaces
for each class of machine, and then plug in the IP addresses for each
machine via search and replace. Cfagent is nice for this.
should is a rather strong word in this case
Does this mean pulling all interface
hiya
* bootoption ethdevice: use specified network device for network booting
(PXE) instead of default (being eth0). Feature contributed by Helge
Wagner. Usage example: ethdevice=eth1
[...]
I think about adding a newer live-initramfs package to the FAI
repository, so you will automatically
hiya
I'm thinking about implementing some prioritized defaults. The main gist
is something like this:
If FAI isn't told anything, then the result of the installation will be a
SuSE Linux Enterprise Server (SLES) 10 in 64bit. If you tell fai to
install a 32bit machine, then this results in a
hiya
A solutions may be to use YAML, which may be better suited to describe
all the different package names for your environment in an easy
way. Using YAML and a script, each install client can generate the
package_config file during installation. Have a look at
hiya
Jumping in: is there a way to specify alternatives in the package
selection?
Yes...
PACKAGES aptitude
abc
bcd
cde
PACKAGES aptitude ETCH
diffutils
PACKAGES aptitude LENNY
diff
Where ETCH and LENNY are also classes you defined earlier. You can
also specify multiple classes. In the
It's truely easy to make setup-storage eat this extra 'i', but what is
the correct solution? It seems that LVM switched over to IEC-proposed
Gi prefixes to mean 1024*1024*1024 bytes; should we then also change
the semantics of disk_config files where [...]
Start to deprecate G and introduce
hiya
Has someone tried to fai Solaris x86?
9.7. FAI for Solaris
FAI has also been ported for use with SUN Solaris OS installations in
cooperation with Solaris jumpstart. This was done using FAI 2.8.4 and
Solaris 9. Get the FAI sources from FAI 2.8.4 and change to the sunos
directory. There you
hiya
I experimented a bit and got the following to work. The reason why I was
experimenting was to be able to get rid of a lot of classes that are used
for just one very specific and limited configuration issue. (Ultimately
I hope to be able to get rid of the and-patch for install-packages
hiya
IIRC ifclass does not work when the scripts are executed. Therefore I
used the grep thing.
Please try it. At least with FAI 3.3 it works.
tschüß
thomas
hiya
It seems the documentation is a bit patchy about this. (At least regarding
fai-wiki and the webpage.)
Am I allowed to use task_error in self-written hooks?
If yes: What exactly means e.g. task_error 801 $RETVAL ?
Is there a list of error codes already in use? May I invent new ones?
I would like to ask how other FAI-Ubuntu-admins are doing it:
Do you have custom package lists?
Yes
Do you care that some configuration differs from a normal ubuntu
installation? e.g.
No.
The reason is, that I see vendor install as a starting point. Every
distributor (hopefully) tries to
hiya
On Mon, 08 Mar 2010 18:08:12 +0100, Martin Schulte said:
Thomas told me, that the client calls 'fai-chboot' on the
install-server via ssh. [...] Where can i find the part of
the script, which handle this login?
It's in lib/subroutines: task_chboot()
Is it just my imagination or is
hiya
a) have/gain root-access on a client installed via fai
But you can disable remote root access on all install clients, and
also disable the root console on A-F4 and A-F5.
This doesn't help. What I meant with step a) was to be able gain access
to a host which has been installed via fai.
hiya
You can write a hook that sets the hostname. Use this code snippet
HOSTNAME=youname
hostname $HOSTNAME
And if you execute
echo ${HOSTNAME} /proc/sys/kernel/hostname
echo ${DOMAIN} /proc/sys/kernel/domainname
then the new hostname is already usable during install.
(It's part of my
hiya
Or at least the impact could be somewhat lessened if the client can
toggle the switch exactly in one direction. (I would not be surprised
if someone has good reasons to only allow disable - enable
installation.)
This is exactly what faimond using -b does. It only disables the pxe
hiya
2. I also need to run wbinfo --set-auth-user=root%rootpassword on the
client. Apart from above problem, wbinfo expects a running winbindd
running on the real system, i.e. not from the live NFS root. I
currently run this manually after installation. How could I do this
using FAI?
I
hiya
Just some quick thoughts on faimond faimond-gui.
1)
The variable monserver could use some explanation. Currently I set this
variable via the pxeboot command line. This works, but is a bit clumsy.
Maybe there is a better solution, but at the moment I just need a
solution. I could ignore
hiya
Could you and/or Michael give me a short summary, what you are trying to
achieve? I was busy and lost the track.
I'm successfully using FAI + LVM + grub (v1) but I'm not sure if this is
relevant to your problems or whether you are trying something else.
LVM-Layouts in use:
part1 = /
...errr.
I really should pay more attention to the subject the subject, right?
Sorry for the noise. You are talking about grub v2.
hiya
jurgen.lams...@telenet.be a écrit :
The problem is; I'm stuck at creating the minimal Ubuntu
system/debootstrap base image. In other words: what is the next step
after: apt-get install debootstrap ?
Roughly, it should be something like this:
# debootstrap hardy /some/where/hardy
b.
And what if I decide NOT to export the mirrors via NFS, but make them
accessible via HTTP. I suppose I have to change
/etc/fai/apt/sources.list, but how
do I handle those 3 different repo's ?
I attached my prepareapt and updatebase hooks just to give you an idea. It
will definititely not
typeset -i memtotal=$(sed -ne
's/^MemTotal:[[:space:]]*\([0-9]*\)[[:space:]]*.*/\1/p'
/proc/meminfo)
Stop that. This is very dirty code. You are ignoring the unit, which will
bite someone/somewhere sooner or later.
hiya
Does anybody have a subroutines-like library available for perl? As a
quick hack I reimplemented ifclass (and wrote ifclasses) in perl this
afternoon.
tschüß
thomas
hiya
I was thinking a bit more about templates and now I'm convinced this is
definitely the way to go.
However I'd like to propose a change. Please give feedback.
This is the format Thomas describes in his example:
http://faiwiki.informatik.uni-koeln.de/index.php/FaiTemplates
hiya
Am 06.08.2010 14:26, schrieb Thomas Lange:
I've no practice in installing SuSE Linux with FAI but I'll try to explain
to you how we got it running for Debian guests, so you'll have to do some
research on your own to adopt this to SuSE (maybe Thomas has more information
about this).
hiya
Just an update on the template engine modification. So far I'm very happy
with my modification to Thomas' and Kai's original work. I like to give an
appetizer what is possible by now. (Does anybody care? The feedback from
my previous posts was kinda non existent.)
This is a template
hiya
(everything's from memory)
on request of Thomas Lange I added some documentation on how to run a
paravirtualized FAI setup on Citrix XenServer:
http://wiki.fai-project.org/wiki/Xenserver
Feel free to fix my typos and add more details if you like.
I've done something similar but
hiya
I like the idea!
thanks for your feedback. Good question. Currently it's defined by the
behaviour of glob() which is bad, in my opinion. Maybe we can use the list
of @classes and put a weight there. If you have this list for example:
qw(CLASS1 CLASS2 CLASS3 CLASS4 CLASS5 CLASS6). Let's
b) I'm currently using two classes NO_SCRATCH (for a standard partition
layout that all of the FAI clients are using) and SCRATCH (to preserve a
possibly existing /scratch partition that I created by hand earlier on
some of the FAI clients, but not on all of them).
b 1) How could theses
Right, that works great. At least as soon as you make use of the
-u|--hostname HOSTNAME option. ;-)
$ man fai
This is useful in conjunction with the dirinstall action, where you
want to manually define a hostname that should be used for defining
classes and for the network setup and
The fai-class manpage simply states:
All class names should be written in uppercase letters (execpt the class
of the hostname). Do not use a dash, use an underscore.
Which says nothing about umlauts, diacrites and other 'strange' stuff.
Is there an official list of allowed characters? For me
Please note: I haven't used fai-chboot to automatically disable
fai-installation yet because the manpage scares me too much. What is
described in this mail is an attack scenario that seems to be possible
judging from the manpage.
have a look there:
Any kind of automated installation is unsecure. [...]
[...]
Since PXE (and tftp) is insecure, FAI does not have special options for
making completely insecure things more secure.
That's totally fine. But why isn't that part of the documentation? Why not
state that there are architectural
On Fri, Feb 10, 2012 at 9:26 AM, Carsten Aulbert
In theory from the dhcp option hostname, some classess are
automattically added for cfengine (things like: if the hostname
matches a regex, for instance).
You can use fai to echo/print the new hostname to
/proc/sys/kernel/hostname and update
Hello
Because of the recent discussion and Thomas' request for a wiki page I've
sat down and created the initial version. Please have a look at it and
let's improve it together.
http://wiki.fai-project.org/wiki/Security_Considerations
I don't know what would be the best way to proceed from
Thomas Lange wrote:
FAI is no image installer but a way of doing an fully automated
installation, controlled by scripts. Using FAI, image backups are not
needed any more.
There's a difference between 'needed' and 'required'. :(
I have run into some guys which required absolutely 100%
Hello list
(or should I address Michael personally since he's probably the only one
who can answer this?)
Does the setup-storage tool try to create properly aligned GPT
partitions? Reason for asking is a somewhat discouraging information on
wikipedia:
Hard disk manufacturers are
the reasoning from /usr/share/fai/setup-storage/Sizes.pm:
# on gpt-bios we'll need an additional partition to store what
# doesn't fit in the MBR; this partition must be at the beginning,
# but it should be created at the very end such as not to invalidate
# indices of other partitions
The extrbase hook? Or is there a better place?
Very good idea.
In a different country and a different FAI installation I used this
hooks/extrbase.DEFAULT in place of the 'normal' one. The hook assumes
an environment variable ${BASEFILE} or
${DEBOOTSTRAP}/${DEBOOTSTRAP_OPTS} exists and
Hello
I'd like to create the following layout
disklabel: gpt
1st part: biosboot partition for use with grub2
2nd part: swap partition (8GB size)
3rd part: lvm physical volume (rest of disk)
volume group vg_system
1st logical volume: / with 4-12GB size
os/nfsroot: Ubuntu natty
faiclient:
Hello everyone
a simple gpt-enabled disk_config
disk_config disk1 disklabel:gpt
primary-1 - -
primaryswap 8Gswapsw
primary/4G- xfs rw
results in
SWAPLIST=/dev/sda2
BOOT_DEVICE=/dev/sda
ROOT_PARTITION=/dev/sda3
Ich wünsche allen Lesern und Lurkern frohe OsterFAIertage.
SCNR.
Hello
I was updating my Ubuntu FAI-server to 12.04 beta2 and suddenly I couldn't
mount the nfsroots anymore during netinstall.
The reason seems to be related to the upcoming /usr merge
(http://lwn.net/Articles/477467/).
/etc/init.d/nfs-kernel-server may contain:
$PREFIX/bin/rpcinfo -u
Hello
Maybe someone has already done this. I'm currently a bit at a loss on how
to manually configure a RedHat (or more specifically OracleLinux 6) grub
bootloader.
It seems most of the work is done via /sbin/new-kernel-pkg which is called
automatically while installing a new kernel image.
Then if I try to do and install pxe loads then a lot of text flies by and
then see
Begin: Loading essential drivers ... done
Begin: Running /scripts/init-premount ... done
Begin: Mount root file system ... /init: .: line 249: can't open
'scripts/live'
Your nfsroot may not have the
Hello
I tested FAI 4.0 and dracut inside a wheezy nfsroot on a squeeze
install server. This works fine. I can reproduce your errors on a
wheezy install server. I will have a look into it. Maybe you can write
a simple bug report for this.
No. NFS + aufs is a good combination and FAI is using
Thomas Lange la...@informatik.uni-koeln.de wrote:
I tested FAI 4.0 and dracut inside a wheezy nfsroot on a squeeze
install server. This works fine. I can reproduce your errors on a
wheezy install server. I will have a look into it. Maybe you can write
a simple bug report for this.
I filed
Hello dear list
This is just a small word of caution. Please do not:
cd /srv/fai/nfsroot
tar czf /tmp/fai-nfsroot[...].tar.gz *
to create a copy/archive of your fai nfsroot.
I currently am debugging some other problems and suddenly my newly updated
nfsroot stopped working. I was searching
[This is a repost of a message I sent earlier. It contained 2 screenshot
attachments and was ignored by the ML-software due to its size.]
I filed Bug#676882 (LVM) [...]
I now have the option to decide between a n[e|o]tbooting dracut-faiclient.
If I do not provide rd_NO_LVM via tftp, then the
If I do provide rd_NO_LVM, then fai starts (finally), but setup-storage
bugs out rather drastically [compare evidence b) ]
http://www.fluffbunny.de/fai-dracut-lvm-1.jpg
sorry. copypaste error. correct link is
http://www.fluffbunny.de/fai-dracut-lvm-2.jpg
What would be the best path to follow? Mirror the whole disks and put
all the partitioning onto the md0 device? Or create partitions on both
disks independently and then pair these up in RAID? At what level is it
best to introduce LVM?
For _GRUB1_ configurations my typical suggestion is:
Find the row and add HOSTNAME=$host:
$append=append $initrd $bootprot $rootfs HOSTNAME=$host $opt_k $flags
$action\n;
What does the nfsroot's `hostname` command report as the current hostname?
Is it the same as the content of HOSTNAME or is it the original/unmodified
host's name?
Find the row and add HOSTNAME=$host:
$append=append $initrd $bootprot $rootfs HOSTNAME=$host $opt_k $flags
$action\n;
What does the nfsroot's `hostname` command report as the current hostname?
Is it the same as the content of HOSTNAME or is it the original/unmodified
host's name?
I just
Hello Michael
Just a small suggestion. Instead of working with $_ you can directly create a
variable. This way it's a bit more obvious what is going on and one doesn't
provoke strange side-effects if something else is storing stuff in $_.
version 2 is even more on the 'safe side' by
Hello again
Sending this mail was followed by a small moment of embarassment, when perl
told me this code is not valid. But maybe it was buggy all along.
rewriting
if scalar(grep(m{^$cur$}, @pre_deps)) {
next COMMAND;
}
as
if ( scalar(grep(m{^$cur$}, @pre_deps)) == 0 ) {
next COMMAND;
}
1 - 100 von 210 matches
Mail list logo