Re: Thank you and good bye.

2009-05-05 Diskussionsfäden Thomas Neumann
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?

Re: disk name change hda/sda between install and runtime kernel

2009-05-18 Diskussionsfäden Thomas Neumann
Henning Sprang wrote: I wonder, if I don't have to use device name anywhere, (disk_config disk1, fstabkey:uuid), if and how I then can circumvent of having to do something like "vg data hda5" vg data disk1.3 ?

Re: disk name change hda/sda between install and runtime kernel

2009-05-18 Diskussionsfäden Thomas Neumann
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

Re: FAI ignores base.tgz in /basefiles

2009-06-15 Diskussionsfäden Thomas Neumann
hiya Henning Sprang wrote: > Jens Classen wrote: >> It takes notice of the archie though, as >> renaming the archive to UBUNTU.tar.gz brings up an error message, that >> only tgz-files are supported. > Strange. Until recently, it was the exact contrary - only tar.gz was > supported. > ( @Thomas:

Re: need Debian default password

2009-06-15 Diskussionsfäden Thomas Neumann
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 installati

Re: lenny install: some problems with aptitude, and/or kernel?

2009-08-25 Diskussionsfäden Thomas Neumann
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

Re: grub issues during FAI install

2009-09-01 Diskussionsfäden Thomas Neumann
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 opera

Re: Specifying sizes in setup-storage

2009-09-02 Diskussionsfäden Thomas Neumann
hiya >> IMO you defined to create a swap partition, which is at least 20% of >> your disk, but should not be bigger than 4GB. This may be >> self-contradictory for your disk size. > Sure, I understand why this configuration fails. What I don't understand > is how to get the desired effect. For in

Re: Profile based installation (not based on MAC address or hostname)

2009-09-08 Diskussionsfäden Thomas Neumann
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

Re: Profile based installation (not based on MAC address or hostname)

2009-09-09 Diskussionsfäden Thomas Neumann
>> 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 op

Re: setup-storage: set vgname to hostname

2009-09-24 Diskussionsfäden Thomas Neumann
> You can write a hook that replaces $HOSTNAME with the current > hostname. This is the easiest way. As a bonus: It even works! ;) tschüß thomas

Providing Defaults to class/ scripts (was:: Adding to $kernelmodules)

2009-09-24 Diskussionsfäden Thomas Neumann
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 prov

Re: setup-storage: set vgname to hostname

2009-09-29 Diskussionsfäden Thomas Neumann
hiya > Thomas Neumann a écrit : >>> You can write a hook that replaces $HOSTNAME with the current >>> hostname. This is the easiest way. >> As a bonus: It even works! > do you know wich variable we could use in a way that is supported by FAI > . I mean u

Re: amd64 kernel, but 32bits packages installed?

2009-09-30 Diskussionsfäden Thomas Neumann
>> 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

Re: amd64 kernel, but 32bits packages installed?

2009-10-01 Diskussionsfäden Thomas Neumann
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 - setu

Re: Read-only filesystem after moving to new server

2009-10-12 Diskussionsfäden Thomas Neumann
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

Re: Providing Defaults to class/ scripts (was:: Adding to $kernelmodules)

2009-10-16 Diskussionsfäden Thomas Neumann
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

Re: Providing Defaults to class/ scripts

2009-10-16 Diskussionsfäden Thomas Neumann
>> 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

Re: Providing Defaults to class/ scripts (was:: Adding to $kernelmodules)

2009-10-16 Diskussionsfäden Thomas Neumann
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 o

Re: setup-storage: set vgname to hostname

2009-10-19 Diskussionsfäden Thomas Neumann
>> 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 f

*ahem* execustion?

2009-10-20 Diskussionsfäden Thomas Neumann
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: Ski

Re: *ahem* execustion?

2009-10-20 Diskussionsfäden Thomas Neumann
[resend because of wrong sender address -_-;;] hiya [execustion] > O.K., but what do you want tp point us to? > The typo? Yes. tschüß thomas

[OT?] BCFG2 (was: FAI 3.3 released)

2009-11-04 Diskussionsfäden Thomas Neumann
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 > c

Re: FAI 3.3 released

2009-11-07 Diskussionsfäden Thomas Neumann
>> 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_co

Re: FAI 3.3 released

2009-11-08 Diskussionsfäden Thomas Neumann
>> - 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

Re: Two network cards

2009-11-18 Diskussionsfäden Thomas Neumann
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 c

Re: Installation problems with NFS mount on sun Fire X2100 with suspicious kernel behavior

2009-11-19 Diskussionsfäden Thomas Neumann
hiya > label kernel-2.6.31local-reconfigured-squash > kernel vmlinuz-2.6.31local-squashfs > append initrd=initrd.img-2.6.31local ip=dhcp root=/dev/nfs > nfsroot=/srv/fai/nfsroot boot=live FAI_FLAGS=verbose,sshd,reboot > FAI_ACTION=install console=tty1 console=ttyS1 Could you try removing "cons

Re: booting from host with multiple network cards

2009-11-22 Diskussionsfäden Thomas Neumann
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 automatical

Re: booting from host with multiple network cards

2009-11-22 Diskussionsfäden Thomas Neumann
hiya > The kernel itself does not know anything about were it was loaded > from. It even does not know if it was loaded from network or disk or > whatever device. Could this be of any use? At least it doesn't work out of the box. I was hoping that the kernel detects that the / a interface is stil

Re: booting from host with multiple network cards

2009-11-22 Diskussionsfäden Thomas Neumann
Sorry for the self-followup, I forgot something > I don't care which interface is configured, as long as a usable interface > is configured. (If there's no dhcp on this network then it's not "usable" > - at least for mounting the nfs shares.) I have servers with up to 8 network interfaces (2 quad

Re: booting from host with multiple network cards

2009-11-22 Diskussionsfäden Thomas Neumann
hiya >> Currently interface are assigned as follows: [...] >> Who knows how long this is going to stay this way? Next kernelrelease? >> Next hardware revision? > Forever? ... or possibly just until I decide to put in a new network card, shuffling around the order of enumeration during the next i

(Thinking aloud) Priorized defaults

2009-12-07 Diskussionsfäden Thomas Neumann
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 32bit

Re: (Thinking aloud) Priorized defaults

2009-12-09 Diskussionsfäden Thomas Neumann
hiya >> 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 32bit SLES. If you >> just want a Debian Box, then you'll get Debian Lenny / 64bit. If you >>

Re: (Thinking aloud) Priorized defaults

2009-12-10 Diskussionsfäden Thomas Neumann
> IIRC, the "-" is an apt feature rather than fai's. Maybe it could be > expanded in some way, for example to include multiple nesting levels > with parentheses, or an if-then-else like structure in the > package_config/* files? Exactly that's why I don't use "-". yast/zypper really doesn't like t

Re: mount to nfs failed

2009-12-17 Diskussionsfäden Thomas Neumann
>> i have changed fai ip address. then i changed >> /srv/tftp/pxelinux.cfg/default with the new address >> but i am getting an error message: mount to nfs 10.10.10.10 failed. >> 10.10.10.10 is the old ip address. >> I think i need to change the ip adress somewhere else? > fix /etc/fai/* and rerun

Re: (Thinking aloud) Priorized defaults

2009-12-17 Diskussionsfäden Thomas Neumann
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 > http://faiwiki.informati

Re: (Thinking aloud) Priorized defaults

2009-12-17 Diskussionsfäden Thomas Neumann
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

Re: (Thinking aloud) Priorized defaults

2009-12-17 Diskussionsfäden Thomas Neumann
hiya > To be honest, Thomas (Neumann), it's still not quite clear to me. What > exactly, i.e., which step of a FAI run, do you mean by "decision-finding"? Originally I was just talking about stuff happening inside "class/". I think I'm letting this idea r

Re: squeeze, setup-storage and LVM

2010-01-08 Diskussionsfäden Thomas Neumann
> 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 introd

Re: reiserfs and FAI 3.2.20

2010-01-11 Diskussionsfäden Thomas Neumann
hiya > We've encountered problem with a class trying to format a partition as > reiserfs. The system silently waits for a user input ("y" + Enter) on > reiser formatting action. > > I've solved the problem by two methods: > > - update my class/disk_config: > add createopts="-f" to each reiserfs li

Re: FAI of custom linux OS

2010-01-15 Diskussionsfäden Thomas Neumann
hiya > Actually, you can, but the extent to which you can rather depends on > the OS being deployed. Even if VMware ~could~ fully customize linux VMs I still wouldn't use it. Why? Because it still can not manipulate Xen- / Hyper-V VMs or even physical hosts. I don't care where the newly create

FAI + Solaris x86

2010-01-15 Diskussionsfäden Thomas Neumann
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

Re: FAI & cfengine

2010-01-16 Diskussionsfäden Thomas Neumann
hiya > I'm thinking of moving the FAI files to a "normal" heirarchy within the > cfengine space. So my canonical nntp config file would be in > /var/lib/cfengine2/clientfiles/etc/ntp.conf. And within the FAI space, > there'd be a symlink from /srv/fai/config/files/etc/ntp.conf/MYCLASS to > the "re

Re: How to conditionally define a class? (ex. Xorg configuration)

2010-01-21 Diskussionsfäden Thomas Neumann
hiya > Now the question is: Instead of running apt-get as above, how can I > define the class XORG_ATI dynamically at installation time (if and only > if the XORG class is defined!) in order to install the software packages > listed in var/lib/fai/config/package_config/XORG_ATI ? if ifclass XORG

Dynamic package selection (prototype)

2010-01-21 Diskussionsfäden Thomas Neumann
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 witho

Re: How to conditionally define a class? (ex. Xorg configuration)

2010-01-21 Diskussionsfäden Thomas Neumann
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

How to use task_error ? (Writing pretty hooks)

2010-02-03 Diskussionsfäden Thomas Neumann
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? Back

Re: ubuntu installation just like from DVD Installer

2010-02-08 Diskussionsfäden Thomas Neumann
> 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) tri

Re: mkdebmirror issue

2010-03-04 Diskussionsfäden Thomas Neumann
hiya > pdiff remains an unknown option though. pdiffs are differential updates to the package database. If you intend to update your mirror on a daily base then you should keep these activated. However if you intend to update you mirror maybe only once a month then deactivating these could result

Re: fai-chboot

2010-03-09 Diskussionsfäden Thomas Neumann
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 o

Re: fai-chboot

2010-03-09 Diskussionsfäden Thomas Neumann
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 f

Re: A quick question on setting the hostname

2010-03-11 Diskussionsfäden Thomas Neumann
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 o

Re: fai-chboot

2010-03-11 Diskussionsfäden Thomas Neumann
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 th

Re: Installing a Samba Domain Member

2010-03-12 Diskussionsfäden Thomas Neumann
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?

Re: FAI and vmware

2010-03-16 Diskussionsfäden Thomas Neumann
hiya > I'm curious how folks install the vmware tools after a FAI install. Anyone > got any tips? during install - copy vmware package (rpm or tar gz) to client's filesystem - install a self-written helperscript which runs on first boot during first "real" boot - helperscript gets run via init a

First contact with faimond / faimond-gui

2010-03-30 Diskussionsfäden Thomas Neumann
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

Re: First contact with faimond / faimond-gui

2010-04-01 Diskussionsfäden Thomas Neumann
hiya >> 4) >> faimond-gui doesn't work (for me). I wrote a small init-script which >> runs faimond as a background process. > This is not the indented use, normally it should be called like > described in the man page. Sorry, I was imprecise. I meant daemon. man faimond [...] OPTIONS [...]

Re: setup-storage + grub2

2010-04-22 Diskussionsfäden Thomas Neumann
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 = / part2

Re: setup-storage + grub2

2010-04-22 Diskussionsfäden Thomas Neumann
...errr. I really should pay more attention to the subject the subject, right? Sorry for the noise. You are talking about grub v2.

Re: FAI installation instructions

2010-05-06 Diskussionsfäden Thomas Neumann
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/whe

Re: FAI installation instructions

2010-05-12 Diskussionsfäden Thomas Neumann
> 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 definititel

Re: make /var/lib/dpkg a ramdisk :(

2010-05-26 Diskussionsfäden Thomas Neumann
> 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.

Re: The NFSROOT variable and extrbase task.

2010-06-21 Diskussionsfäden Thomas Neumann
hiya > I was writing a hook to replace the extrbase task. Could you please keep me informed on this? I'm interested in how and why you replaced the hook. (I did the same to support debian and ubuntu and move the basefiles to a different location.) tschüß thomas

FAI and perl (ifclass)

2010-07-19 Diskussionsfäden Thomas Neumann
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

FAI and yaml [Work in progress]

2010-07-19 Diskussionsfäden Thomas Neumann
hiya As mentioned at the linux workshop I'm in the process of combining fai with yaml-configuration files. My reason is a very wide range of supported configurations. Using classes is quite cumbersome. As an example I attached the config file for one of our servers, so you can get a general

Re: FAI and yaml [Work in progress]

2010-07-19 Diskussionsfäden Thomas Neumann
hiya Am 19.07.2010 19:01, schrieb Stephan Hermann: Wouldn't it be a better idea to use json arrays representation? 2 reasons i didn't chose something else: - I stumbled upon yaml first. (searchtopic: "anything but xml") - the perl library for yaml is very easy to use (if you are used to refer

Re: FAI and yaml [Work in progress]

2010-07-21 Diskussionsfäden Thomas Neumann
> Have a look at > http://faiwiki.informatik.uni-koeln.de/index.php/FaiTemplates > This may help you. This should work with Debian / Ubuntu. My concern is SuSE. Especially SLES10 - because of the filenames. SLES 10 (Probably the same for OpenSuSE 10) network config for eth0 -> /etc/sysconfig/net

Templates (was: FAI and yaml [Work in progress])

2010-07-21 Diskussionsfäden Thomas Neumann
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: ###

Re: FAI Installation in Mainframes

2010-08-09 Diskussionsfäden Thomas Neumann
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). Th

Re: Templates

2010-08-24 Diskussionsfäden Thomas Neumann
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 configur

Re: FAI and XenServer

2010-11-09 Diskussionsfäden Thomas Neumann
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 wi

Re: Let fcopy look for files containing more than one class name separated by dots

2010-11-26 Diskussionsfäden Thomas Neumann
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

Re: proposed patch for make-fai-nfsroot

2011-03-18 Diskussionsfäden Thomas Neumann
hiya > Can we settle on this? > > # add any 3rd party repository keys that you may need installed into the > NFSROOT > > for f in `find $cfdir/apt/keys-added-by-m-f-n -name *.asc`; do > "cat $f | $ROOTCMD apt-key add -" > done; Suggestion: strip down "keys-added-by-m-f-n" to something short

Re: Ubuntu natty setup-storage questions

2011-08-23 Diskussionsfäden Thomas Neumann
> 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 the

Re: runing fai softupdate on 'fai dirinstall'-ation

2012-02-01 Diskussionsfäden Thomas Neumann
> Right, that works great. At least as soon as you make use of the > -u|--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 ot

Allowed characters in classnames?

2012-02-07 Diskussionsfäden Thomas Neumann
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 [

Re: Allowed characters in classnames?

2012-02-07 Diskussionsfäden Thomas Neumann
> Am 07.02.2012 17:23 schrieb "Thomas Neumann" : >> "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 othe

Re: How to prevent new installations when I have already installed my client through LAN boot?

2012-02-09 Diskussionsfäden Thomas Neumann
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: > https://lists.uni-koeln.de/pipermail/linux-fa

Re: How to prevent new installations when I have already installed my client through LAN boot?

2012-02-09 Diskussionsfäden Thomas Neumann
I apologize with all sincerence if you had the impression I'm trying to attack you. I didn't intend to at all. > I don't see big flashing 'thou are forbidden to harden your install as > you see fit' in the manpage either. No. There isn't. I wrote this reply, because on the outside it _seems_ ssh+

Re: How to prevent new installations when I have already installed my client through LAN boot?

2012-02-09 Diskussionsfäden Thomas Neumann
> 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 iss

Re: How to prevent new installations when I have already installed my client through LAN boot?

2012-02-09 Diskussionsfäden Thomas Neumann
>> +It is possible to remotely execute 'fai-chboot ...' on the fai >> server to switch the installed client to localboot after the >> installation has completed. Warning: This may open up the fai >> installation environment to exploits if the remote login account >> is not properly secured. > Sorr

Re: OT: dpkg hangs unpacking

2012-02-10 Diskussionsfäden Thomas Neumann
> 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

FAI Security Considerations -> Wiki page

2012-02-13 Diskussionsfäden Thomas Neumann
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 here.

Re: [OT] any eqivalent of systemimager

2012-02-14 Diskussionsfäden Thomas Neumann
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% identi

setup-storage+gpt: alignment aware?

2012-03-19 Diskussionsfäden Thomas Neumann
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 transitioni

Re: setup-storage+gpt: alignment aware?

2012-03-19 Diskussionsfäden Thomas Neumann
<- sincerely apologizing for the broken linewraps in the previous posts I think it's finally time to scrap this wannabe 'mail client'.

Re: setup-storage+gpt: alignment aware?

2012-03-19 Diskussionsfäden Thomas Neumann
> 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

Re: move basefiles out of config space

2012-03-21 Diskussionsfäden Thomas Neumann
>> 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 d

Help requested: Howto create a nice GPT layout?

2012-03-27 Diskussionsfäden Thomas Neumann
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: 3.4.7

Clarification regarding disk_var.sh variable significance?

2012-03-27 Diskussionsfäden Thomas Neumann
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" BOOT_PARTI

lost in translation

2012-04-06 Diskussionsfäden Thomas Neumann
Ich wünsche allen Lesern und Lurkern frohe OsterFAIertage. SCNR.

Ubuntu 12.04b2 and nfs-kernel-server problem (incl. fix)

2012-04-06 Diskussionsfäden Thomas Neumann
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 localhost

Proper way to find out if an (initial) installation is being performed?

2012-05-22 Diskussionsfäden Thomas Neumann
Hello In the original prepareapt hook, there are (were?) two different if-clauses: if [ -f /var/run/fai/FAI_INSTALLATION_IN_PROGRESS ]; then if [ $do_init_tasks -eq 1 ] ; then I'm not too sure what they are supposed to mean so I ask for clarification. Judging from the code/names they seem to gu

manual redhat grub configuration?

2012-05-22 Diskussionsfäden Thomas Neumann
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. Howeve

Re: Install config help needed

2012-05-25 Diskussionsfäden Thomas Neumann
> 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

Re: Any plans to get rid of nfs+overlayfs for netboot?

2012-05-30 Diskussionsfäden Thomas Neumann
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 u

Re: Any plans to get rid of nfs+overlayfs for netboot?

2012-06-10 Diskussionsfäden Thomas Neumann
Thomas Lange 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 Bug#676882 (LVM) and Bug#676

this is not the fai nfsroot >.

2012-06-12 Diskussionsfäden Thomas Neumann
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 lef

[LVM+dracut] Damned if you do, damnded if you don't (was: Any plans to get rid of nfs+overlayfs for netboot?)

2012-06-13 Diskussionsfäden Thomas Neumann
[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

Re: [LVM+dracut] Damned if you do, damnded if you don't (was: Any plans to get rid of nfs+overlayfs for netboot?)

2012-06-13 Diskussionsfäden Thomas Neumann
> 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. copy&paste error. correct link is http://www.fluffbunny.de/fai-dracut-lvm-2.jpg

  1   2   3   >