Re: Always run set_disk_list before setup-storage

2015-04-30 Diskussionsfäden Toomas Tamm
On Thu, 2015-04-30 at 13:00 +0300, Alex Kiousis wrote: Also because the hooks are executed in a sub-shell, we can't run set_disk_info in the hook because the changed value of the variable is discarded after the script exits. If you append .source to the name of the hook script (eg

Always run set_disk_list before setup-storage

2015-04-30 Diskussionsfäden Alex Kiousis
Hello, we have a lot of hp machines that we use to provision Debian on with FAI. HP raid controllers use the hpacucli utility to manage their raid controller and we use hpacuscripting from the partition hook to load up a preset config for the controller. My understanding of how FAI does the

Re: Always run set_disk_list before setup-storage

2015-04-30 Diskussionsfäden Alex Kiousis
Thanks, didn't catch that. Works perfect when sourced. On Thu, Apr 30, 2015 at 2:16 PM, Toomas Tamm tt-...@kky.ttu.ee wrote: On Thu, 2015-04-30 at 13:00 +0300, Alex Kiousis wrote: Also because the hooks are executed in a sub-shell, we can't run set_disk_info in the hook because the changed

FAI 4.3.2: Fehler bei setup-storage 1.7

2015-04-30 Diskussionsfäden looper
Hallo, hier noch meine disk_config: disk_config disk1 disklabel:msdos bootable:1 fstabkey:uuid primary/boot 500 ext3rw logicalswap 2G swapsw logical/var/log 4G ext4rw,noatime,nodev logical/ 8G- ext4

ERROR 256 256 in fai.log

2015-04-30 Diskussionsfäden Werner Pommerer
Hello, in the past it worked, but now I get following error in fai.log. I didn’t change anything. ERROR: 256 256 ERROR: chroot /target yum -y install authconfig kernel grub less openssh openssh-clients openssh-server vim-enhanced man wget screen unzip which nfs-utils

Re: ERROR 256 256 in fai.log

2015-04-30 Diskussionsfäden Thomas Lange
On Thu, 30 Apr 2015 15:50:23 +0200, Werner Pommerer werner.pomme...@uni-hohenheim.de said: in the past it worked, but now I get following error in fai.log. I didn’t change anything. ERROR: 256 256 ERROR: chroot /target yum -y install authconfig

Re: FAI 4.3.2: Fehler bei setup-storage 1.7

2015-04-30 Diskussionsfäden Thomas Lange
On Thu, 30 Apr 2015 16:53:03 +0200, looper loo...@gmx.li said: Hallo, seit der Umstellung von Debian Wheezy auf Jessie schlägt die Installation mit FAI fehl. Hier die Daten aus dem FAI-Client: Kannst du auch noch die disk_config zeigen. -- regards Thomas

FAI 4.3.2: Fehler bei setup-storage 1.7

2015-04-30 Diskussionsfäden looper
Hallo, seit der Umstellung von Debian Wheezy auf Jessie schlägt die Installation mit FAI fehl. Hier die Daten aus dem FAI-Client: fai-client 4.3.2 fai-setup-storage 4.3.2 liblinux-lvm-perl 0.17-2 lvm2 2.02.111-2.2