Re: AW: /boot/grub/ascii.pf2 not found

2016-05-04 Thread Thomas Lange
> On Wed, 4 May 2016 16:12:10 +0200, "Werner Pommerer" > said: > there is no error in the log-files concerning grub. Especially in shell.log: Are you using an UEFI Bios or do you use legacy boot. -- regards Thomas

Re: creating routes

2016-05-04 Thread Thomas Lange
> On Wed, 4 May 2016 15:35:55 +, Ronald Steele > said: > My install clients are unable to get to the package repository. It seems I need to set up some routes before the packages are installed. Network routes should be set up by DHCP. Maybe you have a wrong or missing info in

Re: package_install problem

2016-05-10 Thread Thomas Lange
> On Tue, 10 May 2016 16:50:29 +, Ronald Steele > said: > However when it starts the package_install phase no packages are found. Are there any eror messages? Please add your fai.log. -- regards Thomas

Re: FAI 5.0.3 Debian jessie: ftar ACL bug?

2016-05-11 Thread Thomas Lange
> On Tue, 10 May 2016 20:16:24 +0200, Alexander Bugl > said: > When installing a client we saw a problem with systemd complaining about sssd > (System Security Services Daemon), there were missing rights in > /var/lib/sss/pipes/ > After some investigation we saw that

Re: FAI 5.0.3 Debian jessie: ftar ACL bug?

2016-05-11 Thread Thomas Lange
> On Wed, 11 May 2016 17:35:25 +0200, Alexander Bugl > said: > When packing the base.tar.xz in /usr/sbin/fai-make-nfsroot tar is called > So there is no option --xattrs or --acl used. > So we have the case that --xattrs and --acl are used when extracting. OK, one problem is

Re: FAI 5.0.3 Debian jessie: ftar ACL bug?

2016-05-12 Thread Thomas Lange
This bug report has a good solution IMO. http://bugs.debian.org/819978 I will comment on this bug, so maybe it will be backported to jessie. -- regards Thomas

Re: Network issue during FAI installation

2016-05-13 Thread Thomas Lange
> On Fri, 13 May 2016 22:35:45 +0200, "Christian Meyer" > said: > The point I don't understand is that the same (defective ?) cable works well with Windows installed on the machine, even the > ready installed Debian after deployment works very well with it (PXE-Boot, too). Only

Re: Network issue during FAI installation

2016-05-15 Thread Thomas Lange
> On Sat, 14 May 2016 21:01:28 +, c2h5oh said: > In my case the network link was down: "no-CARRIER", so neither ping nor nfs worked. Ah, I missed that. Maybe the Linux driver uses a lower timeout when waiting for the carrier signal. Anyway, always check the cable if you have network

Re: Possible Bug using $FAI_DEBMIRROR

2016-05-16 Thread Thomas Lange
> On Mon, 16 May 2016 13:29:01 + (UTC), "C. V." > said: > +if [ -d /lib/live/mount/medium ]; then # we are booting from fai cd or USB stick I do not have the directory /lib/live when booting form FAI CD with FAI 5.X. -- regards Thomas

Re: $ROOTCMD commands fail

2016-05-18 Thread Thomas Lange
> On Wed, 18 May 2016 15:38:02 -0500, Michael Kriss said: > $ROOTCMD cd /home/kriss/src_dir ; make install Please try $ROOTCMD bash -c "cd /home/kriss/src_dir ; make install" -- regards Thomas

Re: Possible Bug using $FAI_DEBMIRROR

2016-05-24 Thread Thomas Lange
> On Sun, 15 May 2016 20:09:55 + (UTC), "C. V." > said: > I was setting up a new FAI system with Debian Jessie. Using a NFS mounted debian mirror (previously debmirror, now fai-mirror) I noticed that it is never mounted. I just did a test with FAI 5.0.3 and I set this variable

Re: Possible Bug using $FAI_DEBMIRROR

2016-05-25 Thread Thomas Lange
>>>>> On Tue, 24 May 2016 14:03:34 +0200, Thomas Lange >>>>> said: >>>>> On Sun, 15 May 2016 20:09:55 + (UTC), "C. V." >>>>> said: >> I was setting up a new FAI system with Debian Jessie. Using a NFS mounte

Re: Possible Bug using $FAI_DEBMIRROR

2016-06-01 Thread Thomas Lange
> On Wed, 1 Jun 2016 10:12:51 + (UTC), "C. V." > said: >> Please set FAI_DEBMIRROR in your config space. > Since when do I need to install this in my config space /srv/fai/config/class/myclient.var? In the documantation and examples it is always set in fai.conf It seems t

Re: Problem with DNS DHCP-Name

2016-06-13 Thread Thomas Lange
> On Mon, 13 Jun 2016 12:52:54 +, Denny Bortfeldt > said: > Hello everyone, > I’ve got a little problem with my fai installations. > Everytime I install a client via pxe, the name of the vm contains our dns domain. I know that Thomas had a fix for this but I can’t find

Re: Problem with virtio network boot

2016-06-14 Thread Thomas Lange
> On Tue, 14 Jun 2016 15:09:49 +, Denny Bortfeldt > said: > When I create the VM with an e1000 driver everything works fine. > We didn’t have this problem with FAI 3, this now happens with FAI 5. > Seems like dracut don’t support virtio out of the box? Yes, it should sup

Re: AW: Problem with virtio network boot

2016-06-14 Thread Thomas Lange
> On Tue, 14 Jun 2016 15:35:13 +, Denny Bortfeldt > said: > Drivers are included. OK. IMO the NIC is activated (so , there's is one eth0), but only DHCP is not working. Maybe your network setup is the cause the the problem, not the kernel driver. > -Ursprüngliche Nachri

Re: AW: AW: Problem with virtio network boot

2016-06-14 Thread Thomas Lange
> On Tue, 14 Jun 2016 15:51:00 +, Denny Bortfeldt > said: > The first DHCP request for pxe-boot-menu is received successfully. After that the initrd and stuff is loaded. > When dracut is running a dhcp again, then the dhcp fails - I also don't see any traffic anymore from t

Re: AW: AW: AW: Problem with virtio network boot

2016-06-14 Thread Thomas Lange
> On Tue, 14 Jun 2016 16:04:14 +, Denny Bortfeldt > said: > Screenshot attached: > https://data.bortfeldt.net/f/84d501dcd7/ You can use rd.net.timeout.ifup= to use a bigger timeout. See man dracut.cmdline for more info -- regards Thomas

Re: AW: AW: AW: AW: Problem with virtio network boot

2016-06-14 Thread Thomas Lange
> On Tue, 14 Jun 2016 16:23:41 +, Denny Bortfeldt > said: > Default timeout are 20 seconds, this is way enough. DHCPOFFERS will be send out but VM don't respect them. > This problem only occur with Dracut and virtio network card. You can test the nfsroot from http://fai-proj

Re: LVM not working.

2016-06-15 Thread Thomas Lange
> On Wed, 15 Jun 2016 15:04:13 +, Ronald Steele > said: > From the shell.log installation log: /run/lvm/lvmetad.socket connect failed: No such file or directory > WARNING: Failed to connect to lvmetad. Falling back

Re: LVM not working.

2016-06-15 Thread Thomas Lange
>>>>> On Wed, 15 Jun 2016 18:01:43 +0200, Thomas Lange >>>>> said: > Using lsinitrd, you can check if the initrd includes the lvm dracut > module and the executablers for lvm. Add this to dracut.conf before the initrd is created: add_dracutmod

Re: LVM not working.

2016-06-16 Thread Thomas Lange
I seems that the whole CentOS 7 installation is not working atm. Even if you do not use LVM, the machine does not manage reboot successfully. Booting the rescue kernel helps only a little bit. -- regards Thomas

Re: LVM not working.

2016-06-16 Thread Thomas Lange
> On Thu, 16 Jun 2016 12:57:21 +, Ronald Steele > said: > It boots fine for me if I use a simple disk partition scheme. That's very interesing. > I did set up a local yum repo. I never got it to work using the default. Very strange. -- regards Thomas

Re: LVM not working.

2016-06-16 Thread Thomas Lange
OK, I've solved this problem. I seems that the old CENTOS7_64.tar.xz basefile in http://fai-project.org/download/basefiles/ caused all the problems. I've created a new one, which now works. Using this patch, you can now add the FAI class LVM to your CentOS install client and use a LVM partitioning

Re: fai wikie: installing ubuntu

2016-06-16 Thread Thomas Lange
> On Thu, 16 Jun 2016 14:33:52 -0500, John G Heim > said: > The fai wikie page on installing ubuntu says "-l is passed to > fai-make-nfsroot makes it use 'live-boot instead of dracut, which is not > supported by ubuntu. " but -l is not a legal option for > fai-make-nfs

Re: fai wikie: installing ubuntu

2016-06-16 Thread Thomas Lange
> On Thu, 16 Jun 2016 16:07:39 -0500, John G Heim > said: > Are you saying ubuntu now supports dracut? No. For installing Ubuntu with FAI, I recommend using a Debian nfsroot. Several FAI users are using this approach. -- regards Thomas

Re: adding a package to initrd

2016-06-24 Thread Thomas Lange
> On Fri, 24 Jun 2016 09:55:12 -0500, John G Heim > said: > Does anybody have basic instructions for adding a package to the initrd > in the fai nfsroot? Hi John, I will write you the commands you'll need. I just arrived at Debcamp so maybe you will get this tomorrow. -- rega

Re: adding a package to initrd

2016-06-24 Thread Thomas Lange
> On Fri, 24 Jun 2016 09:55:12 -0500, John G Heim > said: > Does anybody have basic instructions for adding a package to the initrd > in the fai nfsroot? Adding the package itself to the initrd is easy. Just add it to /etc/fai/NFSROOT. But then it is not added to the initrd. The

Re: scripts don't execute

2016-06-24 Thread Thomas Lange
> On Fri, 24 Jun 2016 13:59:11 +, Ronald Steele > said: > The script’s file permissions are the same as the existing scripts. The class name is defined in .../class/50-host-classes and appears in the log files in variables.log and fai.log (but never in shell.log). Check if you

Re: scripts don't execute. Solved, buy why?

2016-06-24 Thread Thomas Lange
> On Fri, 24 Jun 2016 17:33:44 +, Ronald Steele > said: > File uclient01/50-copy-file has unsupported type ASCII text. I guess you missed the first line #! /bin/bash or the file tools now does not detect shell scripts correct. -- regards Thomas

Re: using fcopy in a fai-make-nfsroothook

2016-06-25 Thread Thomas Lange
> On Thu, 23 Jun 2016 15:33:16 -0500, John G Heim > said: > Can anyone please tell me how to use fcopy in a hook script for > fai-make-nfsroot? I've been experimenting for half an hour and can't get I think you cannot use fcopy for fai-make-nfsroot, since it does not use the no

FAI 5.1 released

2016-06-28 Thread Thomas Lange
Hi, new packages for FAI 5.1 are now available. Also a new dracut version was added to the package repository of fai-project.org, which now supports overlayfs. This is needed when using a 4.x kernel with FAI and works with kernels newer than 4.6. FAI 5.1 was tested with jessie and stretch. New FA

Re: FAI setting hostname to fqdn

2016-06-29 Thread Thomas Lange
> On Wed, 29 Jun 2016 14:55:42 -0500, John G Heim > said: > During an install, my install client is getting a hostname that is > really the fully qualified hostname. So if you open a shell and type The newer version of hooks/setup.DEFAULT.sh include this line, to set the short

FAI 5.1.1

2016-06-30 Thread Thomas Lange
The new FAI release just got an update for the class UBUNTU. It now installs Xenial (16.04) by default. -- regards Thomas

FAI 5.1.2 and new ISO images

2016-07-01 Thread Thomas Lange
FAI 5.1.2 was released because we need a small fix for fai-cd for creating autodiscover images. Now new ISO images of all flavors are available for download. -- regards Thomas

Re: example network script will misname interface if installing stretch

2016-07-18 Thread Thomas Lange
> On Sat, 16 Jul 2016 14:18:25 -0700, Ian Kelling > said: > Using jessie as the base os to install stretch. > 30-interface will setup /etc/network/interfaces with > something like eth0, and if you upgrade to stretch, > it will reboot and eth0 is now named something like

Re: Fai-make-nfsroot setup-failure fai-server

2016-07-22 Thread Thomas Lange
> On Fri, 22 Jul 2016 13:18:44 +, "Bosch, Fabian (BITBW)" > said: > Performing fai-setup, I still get the Error E: Unable to locate package dracut-config-generic. I guess you are creating a jessie nfsroot. Add this to your /etc/fai/apt/sources.list

Re: AW: Fai-make-nfsroot setup-failure fai-server

2016-07-22 Thread Thomas Lange
> On Fri, 22 Jul 2016 13:42:28 +, "Bosch, Fabian (BITBW)" > said: > I did add "deb http://fai-project.org/download jessie koeln" to my sources.list updated apt and it didn't work either. > Sorry :( Please call fai-make-nfsroot -v and put the output onto paste.debian.net. Th

Re: Multiple NFSROOTs (Jessie, Stretch) with FAI 5

2016-07-22 Thread Thomas Lange
> On Fri, 22 Jul 2016 16:04:52 +0200, Steffen Grunewald > said: > - the suggested "sed" commands need a "-i" option to write back to the same file Fixed. > - while there is a -C option to fai-setup, to select multiple copies of the > (/etc/fai) config tree, there's none

Re: AW: Fai-make-nfsroot setup-failure fai-server

2016-07-25 Thread Thomas Lange
> On Mon, 25 Jul 2016 06:52:54 +, "Bosch, Fabian (BITBW)" > said: >> Please call fai-make-nfsroot -v and put the output onto paste.debian.net. Then I will have a look at it. > paste.debian.net/784794 You have two options. either remove dracut-config-generic from /etc/fai/NF

Re: AW: Fai-make-nfsroot setup-failure fai-server

2016-07-25 Thread Thomas Lange
> On Fri, 22 Jul 2016 13:42:28 +, "Bosch, Fabian (BITBW)" > said: > I did add "deb http://fai-project.org/download jessie koeln" to my sources.list updated apt and it didn't work either. You must add this to /etc/fai/apt/sources.list ^^^ ^^^ That's important! -- rega

Re: Using fai-mirror and fai-cd for an offline Xenial installer

2016-07-27 Thread Thomas Lange
> On Mon, 25 Jul 2016 17:48:49 +0200, Alexander Thomas > said: > From what I find in previous messages, the > approach for making a Ubuntu installer is to make a Jessie NFSROOT > with a Xenial basefile. Yes, that's right. > The workflow should be: > 1. Make or downlo

Re: Using fai-mirror and fai-cd for an offline Xenial installer

2016-07-27 Thread Thomas Lange
> On Wed, 27 Jul 2016 18:32:06 +0200, Alexander Thomas > said: > OK, this works indeed. That's great. > Thanks for the help, You're welcome. Are there any other changes needed inside the FAI config space for Xenial? -- regards Thomas

Re: Not reboot/halt after successful installation

2016-07-29 Thread Thomas Lange
confusion about the reboot flag in the past. This commit removed the test if error.log is empty. commit 17cecc5cd78bfd2212d5d269d44d43aeca013c27 Author: Thomas Lange Date: Fri Feb 1 21:32:52 2013 +0100 do not reboot if error.log is empty Closes: #699279, #690016 IMO the problem is that we hav

FAI going to the cloud

2016-07-29 Thread Thomas Lange
size=943718400 - Fully Automatic Installation - FAI 5.2~beta11 (c) 1999-2016 Thomas Lange - Starting FAI execution - 20160729_1538

Re: Dracut error with fai-cd?

2016-08-01 Thread Thomas Lange
> On Mon, 1 Aug 2016 05:31:46 +, c2h5oh said: > AFAIK dracut from Jessie isn't ready to build CDs. It only is useful for PXE images. CD images can be build with dracut since Stretch. > For fai-cd in Jessie I use it with live-boot instead. If you use the packages from the fai-proj

Re: FAI 5.1.2 grub problem

2016-08-01 Thread Thomas Lange
> On Mon, 1 Aug 2016 13:16:58 +0300, "Hannu T. Pysäys" > said: > I have a grub problem (Debian 8.5 / FAI 5.1.2) , GRUB_PC always fails with following code: > GRUB_PC/10-setup FAILED with exit code 1. > Can you provide me pointers where to start look this issue? Have a

Re: read-only filesystem when installing - aufs missing

2016-08-02 Thread Thomas Lange
> On Tue, 2 Aug 2016 15:32:05 +0200, René Bleisch > said: > => how does "fai-chboot" make its decision on using aufs or overlayfs (based on which conditions)? It checks if $nfsroot/lib/modules/$kernelsuffix/kernel/fs/aufs or overlayfs exists. > => is there a command line option or

Re: Not-so-predictable network names

2016-08-04 Thread Thomas Lange
> On Thu, 4 Aug 2016 17:09:58 +0200, Alexander Thomas > said: > I now have the same problem while installing xenial from a jessie > NFSroot. It defines an interface eth0 in /etc/network/interfaces, but > when the installed system boots, the interface is named ‘ens3’. I think

Re: RedHat installation via fai

2016-08-09 Thread Thomas Lange
> On Tue, 9 Aug 2016 09:24:55 +0200, Denny Bortfeldt > said: > Did anyone manage to install RedHat via fai? If yes, how? Is there a basefile which could be shared? No, there's no basefile for Redhat. Since RHEL has a commercial lizence, I cannot distribute basefiles for it. You have

Re: /tmp read-only with stretch and FAI 5.1.2

2016-08-09 Thread Thomas Lange
> On Tue, 9 Aug 2016 10:10:35 -0600, Jeffrey Stolte said: > root@faiclient:~# touch /tmp/test > touch: cannot touch '/tmp/test': Operation not supported Strange. This does not look like a permissions denied message. I do not have this problem. Check if the permissions of your /tmp in

Re: /tmp read-only with stretch and FAI 5.1.2

2016-08-09 Thread Thomas Lange
I do not know if the ACLs are needed. I've uploaded a tar ball of a generic nfsroot (stretch, FAI 5.1.2, kernel 4.6) to http://fai-project.org/download/misc/nfsroot-generic_5.1.2_4.6.tar.xz It was created by fai-make-nfsroot -fvg You can extract it on your FAI server and adjust it by calling fai-m

Re: /tmp read-only with stretch and FAI 5.1.2

2016-08-10 Thread Thomas Lange
Hi Jeff, hi Stephen, I found the problem. It's NFS v4 again. If I export my nfsroot via NFS v4 I also have the 'operation not supported' error message when doing a touch /tmp/test. On your FAI install server you can add this line to the /etc/exports /srv/nfs4 1.2.3.4/25(fsid=0,ro,no_subtre

Re: 'fai -vNu diskless dirinstall' does not use the hostname/class 'diskless'

2016-08-10 Thread Thomas Lange
This is a bug. I think I never tested a dirinstall with -N, I've always used -c. I did some changes in setting/reading the hostname in FAI 5.1 and 5.1.2, so this may be the cause of your problems. Can you please file a bug report for this? I'm on vacation, so not much time to look deeper into it n

Re: Recommended specs for a FAI server

2016-08-19 Thread Thomas Lange
IMO, these days Gbit network is a must. If you want to install a lot of machines, it would be perfect if your server has that much RAM, that all packages for the clients will be cached in RAM if your install server is also the package mirror or proxy. If you install around 2GB of packages, this amo

Re: FAI Centos7 with Raid

2016-08-22 Thread Thomas Lange
> On Mon, 22 Aug 2016 14:05:05 +0300, Jorma Tolonen > said: > Thanks Thomas for the great software! You're welcome. > I´m struggling with the Centos7 installation with software raid. Do you have any error messages? -- regards Thomas

Re: ACLs on /target/ while installation causing trouble

2016-08-29 Thread Thomas Lange
> On Thu, 25 Aug 2016 08:45:38 +0200, Steven Wend > said: > using a hook while creating the nfs root. We added manually a allready > fixed tar version via dpkg -i. The problem is solved that way. Which tar version does fix it? It this version available in unstable or somewhere el

Re: FAI support for SLES > 9

2016-08-29 Thread Thomas Lange
> On Fri, 26 Aug 2016 16:50:14 +0200, Thomas Schneider > said: > I have only a single question: > Is FAI supporting SLES11? For SLES11 support, you have to create a SLES11 basefile using the rinse command. rinse supports opensuse 11.x, and it should also work with SLES11. Then yo

Re: early stage rpcbind failure

2016-09-04 Thread Thomas Lange
> On Sat, 3 Sep 2016 15:22:54 +, Guglielmi Matteo > said: > mkdir: cannot create directory '/var/lib/discover': Read-only file system Please check if the client now tries to mount the nfsroot via NFS v4. Try to force NFS v3. Also read this https://lists.uni-koeln.de/pipermail/lin

Re: early stage rpcbind failure

2016-09-05 Thread Thomas Lange
> On Sun, 4 Sep 2016 23:01:25 +, Guglielmi Matteo > said: > I've also rebuilt the nfsroot several times in order to create > new initrd files without luck. You can try the nfsroot from http://fai-project.org/download/misc/. call fai-make-nfsroot -av to "adjust" this generic n

Re: early stage rpcbind failure

2016-09-05 Thread Thomas Lange
> On Mon, 5 Sep 2016 13:00:42 +, Guglielmi Matteo > said: > 2) there is no /run/rpcbind/ folder (see 1st > error message I get). What I have in the > /run folder related to rpcbind are the following > two files: > /run/rpcbind.lock > /run/rpcbind.sock I have

Re: early stage rpcbind failure

2016-09-05 Thread Thomas Lange
> On Mon, 5 Sep 2016 13:49:52 +, Guglielmi Matteo > said: > 'aufs' option fixes the problem! > fai-chboot -k aufs -IBv hostname Great. fai-chboot should detect automatically if aufs or overlayfs (option rootovl) is used inside the nfsroot and then set the needed option in the

Re: Canonical way to upgrade an existing nfsroot?

2016-09-06 Thread Thomas Lange
> On Tue, 6 Sep 2016 15:51:06 +0200, Steffen Grunewald > said: > What's the canonical way to keep a nfsroot updated? Would it be sufficient > to "hold" the dracut* packages so their postinst scripts don't fail? I always rebuild my nfsroot. If you save the base.tar.xz before calli

Re: Canonical way to upgrade an existing nfsroot?

2016-09-06 Thread Thomas Lange
> On Tue, 6 Sep 2016 16:05:04 +0200, Steffen Grunewald > said: > from scratch. I'm running into Debian bug #830229 now (jessie/koeln, 044+109-1). > This did happen before as well (044+105-2) but I didn't notice, and stretch > seems to be unaffected (so this may actually be

Re: AW: ACLs on /target/ while installation causing trouble

2016-09-06 Thread Thomas Lange
> On Tue, 6 Sep 2016 16:18:46 +0200 (MEST), "steven.w...@t-online.de" > said: > Hi Thomas, > we used version 1.29 . Ah, this is in testing and sid. Thanks for the info. -- regards Thomas

Re: Canonical way to upgrade an existing nfsroot?

2016-09-06 Thread Thomas Lange
> On Tue, 6 Sep 2016 17:13:34 +0200, Steffen Grunewald > said: > I found that you have created a backport for jessie but don't distribute that via > jessie/koeln? > You might tweak the dracut.maintscript (if it's required at all) ... Because jessie/koeln already includes the

Re: Canonical way to upgrade an existing nfsroot?

2016-09-07 Thread Thomas Lange
> On Wed, 7 Sep 2016 10:10:20 +0200, Steffen Grunewald > said: > Identical in what sense? The content is identical, only the version numers are different. > Also, one may want to add [trusted=yes] to the fai-project.org apt line... (is this already in > the manual?) No. T

Re: NIC1 not set in /usr/lib/fai/subroutines

2016-09-07 Thread Thomas Lange
> On Wed, 7 Sep 2016 10:22:28 +0200, Steffen Grunewald > said: > I'm getting a warning from FAI 5.1.2 for jessie, when running "sysinfo": > /usr/lib/fai/subroutines: line 813: /sys/class/net//address: No such file or directory > It turns out that $NIC1 doesn't get set.

Re: NIC1 not set in /usr/lib/fai/subroutines

2016-09-07 Thread Thomas Lange
> On Wed, 7 Sep 2016 12:48:16 +0200, Steffen Grunewald > said: > I tracked this down a bit. "ip route" returns a single line OK, I've added some code to catch this scenario. > I'm currently running a stretch-based sysinfo on the same machine, same result > (of course) but

Re: dracut error

2016-09-07 Thread Thomas Lange
> On Fri, 19 Aug 2016 13:38:30 +0300, "Hannu T. Pysäys" > said: > fai.log:/sbin/dracut: line 600: cd: /lib/modules: No such file or directory > It looks for me that in my config/scripts/CENTOS/30-mkinitrd tries to do > both CentOS 7 and CentOS 6 ails-commands (at least I ge

Re: FAI Centos7 with Raid

2016-09-07 Thread Thomas Lange
> On Tue, 23 Aug 2016 14:55:20 +0300, Jorma Tolonen > said: > Installation goes through but when rebooting the new server the raid device seems not to start (Device with UUID not found). > During the installation the raid seems to be installed and started properly. check if you

Re: stretch and grub on LVM

2016-09-07 Thread Thomas Lange
I can confirm this problem on jessie (did not tested stretch yet). Before trying to fix it for stretch, I like to understand what should happen, and why the GRUB_PC/10-setup script does not work in this situation. In my test BOOT_DEVICE was aslso set to /dev/vg1/root and BOOT_PARTITION was not set

Re: Fai 5.1.2 jessie -> stretch regression (netcat missing)

2016-09-09 Thread Thomas Lange
> On Fri, 9 Sep 2016 12:14:16 +0200, Steffen Grunewald > said: > Half an hour later, it turned out that for whatever reason, "netcat" wasn't > included anymore, causing the "nc" command in sendmon() to fail. Thanks for the info. It's now fixed. -- regards Thomas

Re: stretch and grub on LVM

2016-09-13 Thread Thomas Lange
> On Wed, 10 Aug 2016 18:33:31 +0200, Markus Wigge said: > I'm trying to install a stretch VM with more or less the same settings I > have for jessie (same config directory). You say, that this disk_config works on jessie but not on stretch? > #disk_config: >> disk_config dis

Re: Small patch for setup-storage.8

2016-09-14 Thread Thomas Lange
> On Thu, 15 Sep 2016 01:38:43 +, Paul Schulz > said: > I didn't see the option for setting the crypt password mention in the > documentation anywhere, so I've added a couple of lines to the man page for > setup-storage. Thanks for your patch. It's now applied. > Th

Re: Patch to setup-storage, add shell command output option (-C)

2016-09-16 Thread Thomas Lange
> On Fri, 16 Sep 2016 05:06:32 +, Paul Schulz > said: > See the following patch which adds the '-C' option to setup-storage. > This allows a dry-run to output the shell commands to be used by the script. Hi Paul, what is the differenct between -C and ommiting -X? IMO it's t

Re: Patch to setup-storage, add shell command output option (-C)

2016-09-16 Thread Thomas Lange
> On Sat, 17 Sep 2016 04:02:39 +, Paul Schulz > said: > With the output from '-C', I can save the commands, review them, and edit the output to include the cryptsetup commands > that I'm missing, then run the resulting script. You can do the same if you omit the -X when call

Re: Dracut, stop on first configured interface?

2016-09-20 Thread Thomas Lange
> On Tue, 20 Sep 2016 15:12:30 +1200, Andrew Ruthven > said: > Is it possible to have Dracut stop on the first interface that receives > a DHCP configuration? IIRC if you specify a NIC on the kernel cmdline, it only probes this interface. For more info read dracut.cmdline(7). -

Re: FAI with RAID+CRYPT+LVM

2016-09-20 Thread Thomas Lange
> On Tue, 20 Sep 2016 11:36:41 +, Paul Schulz > said: > Can this be put into the documentation somewhere? Do you have a patch for this? -- regards Thomas

Re: FAI with RAID+CRYPT+LVM

2016-09-20 Thread Thomas Lange
> On Tue, 20 Sep 2016 23:51:47 +, Paul Schulz > said: > How's this? It's now applied. Thanks for your patch. -- regards Thomas

Re: Customise settings for cryptsetup

2016-09-21 Thread Thomas Lange
> On Thu, 22 Sep 2016 10:39:57 +1200, Andrew Ruthven > said: > I have a requirement to change some of the settings that are passed to > cryptsetup. I could add in a createopts similar to the various other > options what'd allow changing the cipher and size (and whatever else)

Re: FAI going to the cloud

2016-09-22 Thread Thomas Lange
> On Thu, 22 Sep 2016 17:31:54 -0700, Derek Poon > said: > Instead of fai-diskimage as a separate command, have you considered making it a mode of the fai command itself, analogous to `fai dirinstall`? It would be nice to be able to write hooks for diskimage installs. fai-diskimag

Re: Customise settings for cryptsetup

2016-09-26 Thread Thomas Lange
> On Mon, 26 Sep 2016 13:08:28 +1300, Andrew Ruthven > said: > Patch attached. I'm happily building servers with it. Patch applied. Thanks for your patch. -- regards Thomas

Re: FAI going to the cloud

2016-09-27 Thread Thomas Lange
Hi Derek, thanks a lot for all your ideas. fai-diskimage was written as a wrapper script for several reasons. First I tried to implement it as a new action like 'fai install' but I had some problems with that. The wrapper script approach worked much better during the development. Second, fai-diski

Re: FAI going to the cloud

2016-09-28 Thread Thomas Lange
> On Wed, 28 Sep 2016 12:22:48 -0700, Derek Poon > said: > Other common formats include VDI, VMDK, and VHD.[1] Personally, I would make it convert to any recognized extension; any other extension on the user-supplied image name (whether .raw, .img, or .whatever) would case the re

Re: interface with 169.254 address

2016-09-29 Thread Thomas Lange
Hi John, do you want to use this machine as a FAI server or install it using FAI? I guess you want use it as a FAI installation server. What do you mean by "fai can't do host lookups"? Does fai-chboot fail, or what does happen? -- regards Thomas

Re: Use custom aptitude resolver for a package

2016-10-04 Thread Thomas Lange
Have a look at the subroutine add_base_packages() in fai-mirror. I think you can add package by using slightly different options. Keep an eye on $aptoption. -- regards Thomas

Re: BTRFS subvolumes

2016-10-06 Thread Thomas Lange
> On Thu, 6 Oct 2016 10:49:44 +0200, Frank Steinberg > said: > I am not very familiar with the setup-storage code and its concepts and I am not at all a perl programmer, however the following patch seems to solve my problem as a quick workaround. Maybe it could be useful to others,

New FAI version 5.2 is going to the cloud

2016-10-16 Thread Thomas Lange
I'm happy to announce FAI 5.2, the newest version of the Fully Automatic Installation tool set, which now supports creating disk images for virtual machines. You can create a customized virtual machine image in less than a minute[1], which is then run in your virtualization environment like KVM, VM

Re: Allow untrusted packages

2016-10-18 Thread Thomas Lange
> On Tue, 18 Oct 2016 18:18:00 +0800, Kerwin Macrohon > said: > I've created a new repository that does not need signing. How can I > continue installation of untrusted packages via FAI? It aborts during > package_config. Any log message? Normally unauthenticated packages

Re: Booting into login rather than install

2016-10-20 Thread Thomas Lange
> On Thu, 20 Oct 2016 19:16:25 +, Ronald Steele > said: > I have a fai-server installation where the client boots into the login prompt rather than doing an install. I can’t determine what I have done to cause this to happen. I’ve compared boot params between systems that wo

Re: Booting into login rather than install

2016-10-21 Thread Thomas Lange
> On Fri, 21 Oct 2016 15:18:57 +, Ronald Steele > said: > I also tried copying the boot files (initrd,vmlinz etc) from a working system and that didn’t help either. You must use the initrd from inside the nfsroot, not from a normal running system. That's very important. > T

Re: ACLs on /target/ while installation causing trouble

2016-10-28 Thread Thomas Lange
> On Fri, 28 Oct 2016 06:23:45 -0700, Ian Kelling > said: > Thomas, I've noticed the Xenial basefile you host > has the bad acls on the files in it: > http://fai-project.org/download/basefiles/XENIAL64.tar.xz This should be fixed for XENIAL now. It would be fine if you could

Re: Expired repository problems

2016-11-14 Thread Thomas Lange
> On Fri, 11 Nov 2016 19:25:59 +, Ronald Steele > said: > I’m trying to set up FAI to work in an off-line environment (no internet access). To this end I’ve create a apt mirror. This works fine for a while but eventually the mirror expires and apt refuses to us it. Are you u

Re: Updating configuration space (4.x->5.x)

2016-11-16 Thread Thomas Lange
> On Wed, 16 Nov 2016 10:02:08 -0800, Afif Elghraoui > said: > I've done this, but now I noticed during testing that some of my > configurations are broken because the HOSTNAME variable now evaluates to > hostname.domainname, which was not the case in 4.x. Was this change

Re: Updating configuration space (4.x->5.x)

2016-11-17 Thread Thomas Lange
> On Wed, 16 Nov 2016 12:46:37 -0800, Afif Elghraoui > said: > Thanks. That resolves that problem. However, I've also been getting > FATAL: INT18: BOOT FAILURE when trying to boot from disk after the > installation. I tried replacing scripts/GRUB_PC/10-setup with the one

Re: Updating configuration space (4.x->5.x)

2016-11-17 Thread Thomas Lange
Then check your log file if the grub was installed correctly. Have a special look at shell.log which has the output of the grub configuration script. -- regards Thomas

FAI 5.3

2016-11-21 Thread Thomas Lange
FAI 5.3 is now available. Here are some news: A new keyword was added to install_packages. You can now use PACKAGES install-norec for a list of packages that will be installed using apt-get with the option --no-install-recommends. You can now use both -N and -c for fai and fai-diskimage, which wa

Re: FAI 5.3

2016-11-21 Thread Thomas Lange
> On Mon, 21 Nov 2016 13:24:54 +, Holger Levsen > said: > also yay, just how are the priorities defined? first those classes from > -c, then those from -N? This completely depends on the scripts in class/*.sh. We have now a new script class/01-classes as an example. > p

Re: FAI 5.3

2016-11-21 Thread Thomas Lange
> On Mon, 21 Nov 2016 14:25:27 +, Holger Levsen > said: > nice. but what if class/01-classes doesn't exist? or does -c need class > support to work? -c needs class/01-classes. -c just sets $cmdlineclasses. It's not used by default in FAI. So you can decide by yourself if the

<    6   7   8   9   10   11   12   13   14   >