Re: Need new kernel for nfsroot

2016-11-24 Thread Thomas Lange
> On Thu, 24 Nov 2016 15:19:15 +0100, Frank Steinberg > said: > I'd like to build and use a new kernel package for my nfsroot You can use a kernel package from backports. linux-image-4.7.0-0.bpo.1-amd64-unsigned_4.7.8-1~bpo8+1_amd64.deb is available if you add this line to the source

FAI 5.3.2, new ISO iamges, tar package from backports

2016-12-12 Thread Thomas Lange
I released FAI 5.3.2 (see http://blog.fai-project.org/posts/FAI_5.3.2/) and created new ISO images for download. I've also put a version of tar from backports into the fai-project.org package repository, since it fixes a problem when extracting Ubuntu base files. -- regards Thomas

new dracut and tar version in FAI package repository

2016-12-15 Thread Thomas Lange
JFYI: I've added a new dracut version (044+189-2~bpo8+1) and a tar package (1.29b-1~bpo8+1) from backports into the fai-project.org package repository for jessie. -- regards Thomas

Re: fai-5.3.2 and grub-2.02~beta3-3

2017-01-02 Thread Thomas Lange
> On Mon, 2 Jan 2017 13:02:48 +0100, Kai Wilke said: > No question only information for the patching of fai-cd. > Otherwise appears after booting: > ... //i386-pc/normal.mod not found > ^^ (-p /boot/grub) > grub rescue> Hi Kai, thanks for the info. I've added a patch

Re: dirinstall overwrites hostname in fai 5.3

2017-01-03 Thread Thomas Lange
Hi Andy, I cannot confirm this bug. Just tested with FAI 5.3.2 and a new config space. fai -v -u newhostname -cFAIBASE,DEBIAN,AMD64 -s file:///srv/fai/config dirinstall /srv/jessie The hostname remains unchanged. I guess you are using some old hooks in your config space, which may change the ho

Re: Next trial, cryptsetup with and without btrfs

2017-01-04 Thread Thomas Lange
Disclaimer: I never used a crypt setup myself, so I'm not an expert in this setup. > On Wed, 4 Jan 2017 14:00:56 +0100, Kai Wilke said: > my disk_config: > disk_config disk1 disklabel:gpt-bios bootable:1 > primary- 200 - - > primary- 8192 -

FAI 5.3.3 and 5.3.3~bpo8+1

2017-01-09 Thread Thomas Lange
I've uploaded the new FAI version 5.3.3 for stretch and 5.3.3~bpo8+1 for jessie. The version for stretch now includes default config for the stretch release, if you want to use 5.3.3 on jessie use the version in backports (5.3.3~bpo8+1). I will build new ISO images in the next few days. -- regar

New ISO images for FAI 5.3.3 available

2017-01-10 Thread Thomas Lange
All ISO images for FAI 5.3.3 are now available at http://fai-project.org/fai-cd. -- regards Thomas

Runing FAI in a private network with VirtualBox

2017-01-12 Thread Thomas Lange
I've wrote a description, how to run FAI in a Vbox setup in a private network. http://wiki.fai-project.org/wiki/VirtualBox_for_your_first_FAI_installation -- regards Thomas

Re: systemd - missing /etc/machine-id after installation

2017-01-12 Thread Thomas Lange
> On Thu, 12 Jan 2017 14:31:00 +0100, René Bleisch > said: > I just stumbled over a systemd/journald related problem which may also affect FAI installations. > Some days ago, when booting a freshly installed PC (Debian jessie) for the first time, journald could not be started,

FAI 5.3.4

2017-01-24 Thread Thomas Lange
I just released FAI 5.3.4, so it will enter testing before the full freeze of Debian stretch. A version for jessie is also available and uploaded to jessie-backports. -- regards Thomas

New ISO images for FAI 5.3.4

2017-01-31 Thread Thomas Lange
There are new ISO images for CD and USB stick available which are build using FAI 5.3.4. http://fai-project.org/fai-cd/ -- regards Thomas

Re: Docker image for FAI 4.3.3

2017-02-10 Thread Thomas Lange
I wonder if it wound be possible to use fai-diskimage for some parts of your script. > On Fri, 10 Feb 2017 16:09:55 -0500, Ricardo Branco > said: > This is long overdue, but finally I have some time off for this. > I have created a Docker image for FAI 4.3.3 for creating FAI ISO

Blog about FAI and cloud images

2017-02-13 Thread Thomas Lange
FYI: https://noah.meyerhans.us/blog/2017/02/10/using-fai-to-customize-and-build-your-own-cloud-images/ -- regards Thomas

Re: /tmp not writable when booting from NFS

2017-02-13 Thread Thomas Lange
> On Sun, 12 Feb 2017 11:41:31 +0100, Dieter Scholz said: > Because the live-build tools use overlay-fs - which does not support NFS Do you have any references which say NFS export is not possible with overlay-fs? -- regards Thomas

Re: Docker image for FAI 4.3.3

2017-02-13 Thread Thomas Lange
> On Sun, 12 Feb 2017 12:57:28 -0500, Ricardo Branco > said: >> I wonder if it wound be possible to use fai-diskimage for some parts > of your script. > It's not possible because Linux containers are not VM's. Yes, I know. Are they more similar to chroot environments? Then y

Re: /tmp not writable when booting from NFS

2017-02-14 Thread Thomas Lange
> On Mon, 13 Feb 2017 20:48:01 +0100, Dieter Scholz said: > But the fact is that my nfs on top of overlayfs does not start with the > message : > exportfs: /srv/fai/config does not support NFS export Ack. I have the same error message on a stretch system, when building an overlay

Re: /tmp read-only with Debian Stretch and FAI 5.3.4

2017-02-14 Thread Thomas Lange
> linux /stretch64/vmlinuz-4.9.0-1-amd64 ip=eth0:dhcp root=nfs:192.168.80.138:/srv/fai/nfsroot,nfsvers=3 aufs boot=live FAI_CONFIG_SRC=nfs: > //192.168.80.138/srv/fai/config,nfsvers=3 FAI_FLAGS=verbose,sshd,createvt FAI_ACTION=install BOOT_IMAGE=vmlinuz-4.9.0-1-amd64 HOSTNAME=f

[no subject]

2017-02-14 Thread Thomas Lange
> On Tue, 14 Feb 2017 13:19:19 -0800, William MacAllister via linux-fai > said: > I am having problems setting up FAI on a Xenial system using the stock packages.  fai-setup is failing.  The last few lines of the run are: Which FAI version are you using? Building a Ubuntu nfsroot m

Re: Setting up FAI on xenial

2017-02-16 Thread Thomas Lange
> On Wed, 15 Feb 2017 12:30:41 -0800, Bill MacAllister > said: > Same problem. What I did was to edit /etc/fai/nfsroot.conf and set > FAI_DEBOOTSTRAP to "jessie http://ftp.us.debian.org/debian/"; > I add the Debian apt keys to /etc/fai/apt/keys Please put the log of the fai-

Re: Setting up FAI on xenial

2017-02-16 Thread Thomas Lange
Thanks for the log. You do not install any kernel package inside the nfsroot. I guess it's because of the ubuntu version of FAI on your host system. The main problem may be inside /etc/fai/NFSROOT or in fai-make-nfsroot itself. IIRC we made some changes there. Can you please try to upgrade your f

Re: Setting up FAI on xenial

2017-02-16 Thread Thomas Lange
> Hmmm, it is pulling the package from the debian repo. That's ok. The nfsroot must be a Debian one. I do not know if a Ubuntu nfsroot is currently working. Use a Debian nfsroot. > Okay, the sources.list is pointing to stretch. Is that expected? Yes. > Here is my /etc/fai/nfsroot.co

Re: Setting up FAI on xenial

2017-02-16 Thread Thomas Lange
I guess you do not have installed any linux-image package inside the nfsroot. Try: grep linux-image /var/log/fai/fai-make-nfsroot.log Since you have installed the Ubuntu version of the FAI packages, your /etc/fai/NFSROOT may not work for a Debian nfsroot. Please check the diff of your NFSROOT t

Re: Alter initrd inside normal fai workflow

2017-03-01 Thread Thomas Lange
If you need to alter the initrd inside the nfsroot, you can make your changes and then call # chroot /srv/fai/nfsroot dpkg-reconfigure dracut This will rebuild the initrd. Then copy it to the tftp directory. IMO this is easier than extract, alter and package it. -- regards Thomas

nfsroot mount via NFS v4

2017-03-07 Thread Thomas Lange
When using a 4.X kernel FAI uses overlayfs on top of the read-only nfsroot for making it writeable. This works only when using NFS v3. I'm pretty sure this must be fiexed in overlayfs. If the install client mounts the nfsroot via NFSv4 (using NFS 4.2 with the recent 4.9 kernel) the nfsroot will re

Re: More beginner questions

2017-03-08 Thread Thomas Lange
> On Wed, 08 Mar 2017 01:05:52 -0800, Bill MacAllister > said: > forward to me. What I am fuzzy on is how I create a PXE configuration so > that the client picks the correct base file. The base file is picked by a FAI class. The PXE configuration is normally not involved in that

Re: Interface Naming inside nfsroot

2017-03-14 Thread Thomas Lange
> On Tue, 14 Mar 2017 11:21:27 +0100, Dennis Steinmann > said: > When I boot the installed systems (CentOS 7 or Ubuntu 16.04), I have > eno16777984 (CentOS 7) or ens160 (Ubuntu) instead of eth0. Have a look at the new code in DEBIAN/30-interfaces https://github.com/faiproject/fa

Re: fai-cd fails

2017-03-17 Thread Thomas Lange
> On Fri, 17 Mar 2017 16:47:10 +0100, Michael Schneider > said: > Prefix not specified (use the -p option). > Usage: /usr/bin/grub-mkimage [OPTION...] [OPTION]... [MODULES] Hi Michael this was fixed in FAI 5.3.3. See http://metadata.ftp-master.debian.org/changelogs/main/f/fai/un

FAI 5.3.5

2017-03-27 Thread Thomas Lange
The new FAI version 5.3.5 is now available in the fai-project.org repository for jessie. It includes some minor bug fixes. -- regards Thomas

Re: FAI 5.3.5

2017-03-27 Thread Thomas Lange
Sorry, I've put the 5.3.5 into the wrong directory for a few minutes. FAI 5.3.5 is now in the stretch repository, not in the jessie repository. >>>>> On Mon, 27 Mar 2017 13:09:54 +0200, Thomas Lange >>>>> said: > The new FAI version 5.3.5 i

FAI 5.3.5, minor repository error

2017-03-27 Thread Thomas Lange
The FAI 5.3.5 packages were still in the jessie repository. But now it's fixed. You will get FAI 5.3.4~bpo8+1 for jessie and FAI 5.3.5 for stretch. -- regards Thomas

Re: FAI 5.3.5

2017-03-27 Thread Thomas Lange
Curently we have 5.3.4 in testing/stretch. But I will ask the release team to get 5.3.5 into stretch. -- regards Thomas

Re: FAI 5.3.5

2017-03-28 Thread Thomas Lange
Some additional information about the FAI version in Debian stretch. I have no plans to make major changes in FAI currently. Since Debian stretch has already enterd the full freeze, I'm not allowed to upload new FAI versions with major changes. And I have to ask the release team to unblock every ne

Re: iso cd not bootable

2017-03-29 Thread Thomas Lange
> On Wed, 29 Mar 2017 14:51:54 +0300, Николич Роберт > said: > Ive decided to try FAI for the first time (im relatively new to Linux) > I downloaded stretch-faicd64-small_5.3.4.iso image from site and i wrote this image to flash drive (with dd, as described) > However, im un

Re: iso cd not bootable

2017-03-29 Thread Thomas Lange
That's strange. You can try booting from USB withouth changing the BIOS. If you press F8 or similar you will get a one time boot selection menu from the BIOS. Or remove the hard drive (or justthe cable from the disk) from the target computer. -- regards Thomas

Re: iso cd not bootable

2017-03-29 Thread Thomas Lange
> So it works on 2 computers. Very strange. I do not have another hint. -- regards Thomas

Re: iso cd not bootable

2017-03-30 Thread Thomas Lange
> On Thu, 30 Mar 2017 14:34:41 +0300, Николич Роберт > said: > Im now writing some brief description of my company's project for which i > consider using FAI. > Should i post it under this topic? Yuo should use a new Subject for your posting. Please also fill out the FAI ques

Re: fai-quickstart dependencies

2017-03-30 Thread Thomas Lange
> On Thu, 30 Mar 2017 11:14:58 -0500, John G Heim > said: > I noticed that isc-dhcp-server is a dependency of fai-quickstart and > fai-server. Hi John, it's only a depends for fai-quickstart. For fai-server it's a recommends. -- regards Thomas

Re: Second FAI server

2017-04-04 Thread Thomas Lange
> On Mon, 03 Apr 2017 17:57:09 -0700, Bill MacAllister > said: > /usr/lib/fai/prcopyleft: line 16: cannot create temp file for > here-document: Operation not supported It seems that your nfsroot is read-only. There are several possible reasons for this. Neither aufs or overlayf

French version of the FAI guide, HTTPS

2017-04-04 Thread Thomas Lange
Salut, thanks to the work of Jean-Baptiste we now have an up-to-date version of the FAI guide in french! The html and PDF version can be found here: https://fai-project.org/fai-guide-fr https://fai-project.org/fai-guide-fr.pdf The sources are available from https://github.com/CyBerNetX/fai-guid

Re: Additional package apt-transport-https needed for https://fai-project.org/download jessie koeln in /etc/apt/sources.list

2017-04-10 Thread Thomas Lange
> On Sun, 09 Apr 2017 22:40:00 -0700, Ian Kelling > said: > http://fai-project.org was down for me for a while this evening, and I > assume https://fai-project.org was too. We had a power outage 9 hours ago. -- regards Thomas

Re: Additional package apt-transport-https needed for https://fai-project.org/download jessie koeln in /etc/apt/sources.list

2017-04-10 Thread Thomas Lange
Sorry, it was nearly two hours ago at 7:18 local time, not 9 hours ago. -- regards Thomas

power outage

2017-04-10 Thread Thomas Lange
After the power outage here this morning the fai-project.org domain is now again available. -- regards Thomas

Re: creating asc key files

2017-04-12 Thread Thomas Lange
IIRC, I did it using this command gpg -a --export --export-options export-clean la...@debian.org > my.asc Maye use export-minimal instead of export-clean -- regards Thomas

Re: bug report

2017-04-19 Thread Thomas Lange
Hi John, thanks for the bug report. I've filed a new bug in the Debian BTS. It's #860783. I will prepare a new FAI release soon and try to get it into stretch. -- regards Thomas

FAI 5.3.6 and 5.3.6~bpo8+1 for jessie

2017-04-20 Thread Thomas Lange
The new FAI versions 5.3.6 (for stretch) and 5.3.6~bpo8+1 (for jessie) fix some bugs and include some improvements for the documentation. Both are available from the fai-project.org package repositories, which are now also available via HTTPS. -- regards Thomas

Re: Problem with fai-cd and squashfs?

2017-04-25 Thread Thomas Lange
> On Tue, 25 Apr 2017 22:52:55 +0200, Christian Meyer said: > losetup: /run/initramfs/squashfs/LiveOS/ext3fs.img: Warning: file does > not fit into a 512-byte sector; the end of the file will be ignored. I've also have this messages sometimes, and I always ignored the messages, becaus

Re: Problem with fai-cd and squashfs?

2017-04-26 Thread Thomas Lange
>>>>> On Wed, 26 Apr 2017 08:47:39 +, c2h5oh said: > Am Mittwoch 26. April 2017 schrieb Thomas Lange: >> >>>>> On Tue, 25 Apr 2017 22:52:55 +0200, Christian Meyer said: >> >> > losetup: /run/initramfs/squashfs/LiveOS/

Re: autodiscover does not discover fai-server

2017-06-28 Thread Thomas Lange
> On Tue, 20 Jun 2017 12:25:03 +, Dr. Matthias Schöpfer > said: > company uses Windows (*sigh*) I will not be able to use DHCP / PXE. So I > wanted to use the autodiscover cd / iso. I have fai server running, and > fai-monitor started as well. When I try to test with a kv

Re: make nfs root dies on dracut setup in stretch build

2017-06-28 Thread Thomas Lange
> On Tue, 27 Jun 2017 06:59:48 -0700, Nat Sincheler > said: > Thanks to Juri Grabowski and Justin Cattle for the suggestion to include > curl: that took care of the issue. If you update from an older FAI version, you should examine the diffs of the old and new /etc/fai/NFSROOT.

Re: make nfs root dies on dracut setup in stretch build

2017-06-28 Thread Thomas Lange
I'm always very interested in user experiences with FAI. Can you please fill out the FAI questionnaire http://fai-project.org/questionnaire and send it back to me when you finished a project with FAI. -- regards Thomas

Re: how works flag_menu and profile

2017-06-29 Thread Thomas Lange
> On Thu, 29 Jun 2017 06:29:54 +, "Schulz, Reiner" > said: > i like to build a "Client Installation Menu" with a profile, but it is not shown after select "Client standalone installation - select installation type from menu" > I do a grep for "flag_menu" and "profile" in

new versions of the FAI CD

2017-07-04 Thread Thomas Lange
There a new ISO images for FAI available. They use FAI 5.3.6 and Debian 9 (aka stretch) and kernel 4.9 for installing Debian, CentOS or Ubuntu onto your machine. The ISO images can be for for by a CD or USB stick. You can also install your own FAI install server using this CD. There are three dif

Re: FAI and invoke-rc.d: policy-rc.d denied execution of restart

2017-07-05 Thread Thomas Lange
> On Wed, 5 Jul 2017 14:24:20 -0700, Nat Sincheler > said: > In doing an FAI build of stretch we are seeing several messages of the form > Running in chroot, ignoring request. > invoke-rc.d: policy-rc.d denied execution of restart. > What does this error message mean? C

Re: Problem with offline installation using USB flash drive

2017-07-24 Thread Thomas Lange
> On Mon, 24 Jul 2017 09:11:35 +0200, "Giorgio Buffa" > said: > How can I told that hook that “If doing an installation via USB flash drive use the packages stored in the drive itself, otherwise grab them from Internet”? In general, is there a better way to > do that? How do yo

Re: stretch and grub on LVM

2017-07-24 Thread Thomas Lange
> On Tue, 6 Jun 2017 20:18:31 +0200, Markus Wigge said: > Unfortunately something different happens as well for "grub-install". > Only fixing the grub.conf does not result in a bootable system. I also > have to run "grub-install /dev/sda" again for the system disk. Sure, you need

Re: Problem with Serial ATA RAID (aka "fake RAID" or "BIOS RAID")

2017-07-25 Thread Thomas Lange
I would try to avoid RST, and just use software raid. In your shell.log you have this line: ERROR: Found Software RAID, but the mdadm package was not installed You need the mdadm package installed, if you use software raid. Try again with the package mdadm added, but I guess the fake raid is the

Re: Bug#868267: fai-client: fetch-basefile breaks for hostnames with hyphens

2017-07-26 Thread Thomas Lange
> On Thu, 13 Jul 2017 17:41:56 -0400, Arcady Genkin > said: > guessing that the hyphen in the host name is causing the problem (the hostname > is "eddie-vm.teach.cs.toronto.edu" which defines a FAI class of the same name). Hi Arcady, the problem is, that FAI class names should

Re: Bug#868267: fai-client: fetch-basefile breaks for hostnames with hyphens

2017-07-26 Thread Thomas Lange
> On Wed, 26 Jul 2017 11:45:20 -0400, Arcady Genkin > said: > I think that the > approach to replace hyphens and any other illegal characters with underscores > is a very good one. And we have dots in FQDN, which are currently also not allowed in class names. Should we trun

Re: Problem with creation of user accounts

2017-07-26 Thread Thomas Lange
> On Thu, 27 Jul 2017 08:17:24 +0200, Giorgio Buffa > said: > I've tried the following, with no success: >     d-i passwd/user-fullname string Guest Account >     d-i passwd/username string guest >     d-i passwd/user-password password welcome >     d-i passwd/user-pa

Re: Bug#868267: fai-client: fetch-basefile breaks for hostnames with hyphens

2017-07-27 Thread Thomas Lange
I have patched fetch-basefile so this should now work as expected. Instead of an eval and indirect shell variables, I just use an array and loop over this. No performce penalty unless you have some thousands of classes defined for a client and a million of base files ;-) Here are the diffs: https:

Re: Help with igb driver

2017-07-28 Thread Thomas Lange
> On Fri, 28 Jul 2017 16:01:22 +0200, Luca Pizzinato > said: > I guess that FAI fails because eth0 is missing. > Can you point me to the right path to include igb 5.3.5.7 into the FAI installation? I would use a kernel package from backports. See this for more ifo http://wiki.fa

Re: Issues with FAI and NFS Version 4

2017-08-10 Thread Thomas Lange
Did you already checked this posting? https://lists.uni-koeln.de/pipermail/linux-fai/2017-March/011641.html -- regards Thomas

Re: Multiple debian editions on debian stretch server

2017-08-16 Thread Thomas Lange
> On Wed, 16 Aug 2017 17:07:02 -0300, "Fco Z." said: > I am in the process of upgrading old servers (hardware). Currently the server > is with debian jessie and the hosts also with debian jessie. > If I install debian stretch as a server, can I still install debian jessie on

Re: asterisk variables in FAI debug mode

2017-08-17 Thread Thomas Lange
> On Thu, 17 Aug 2017 11:13:23 +0200, Martin Krämer > said: > is there a way I can make custom variables not readable in FAI.log like the ROOTPW variable? Currently no. But the next FAI version will support this. Here's the diff, I just created. All Variable definitions ending in PW

Re: stretch and grub on LVM

2017-08-17 Thread Thomas Lange
> On Tue, 6 Jun 2017 20:18:31 +0200, Markus Wigge said: > to update this old thread while stretch is knocking on the door I found > out that the "device.map" is making the trouble for me. I found out, that device.map is not needed any more in grub 2.00. From the NEWS file: * grub-mkd

Re: Cannot get through PXE boot: dracut duplicate address problem

2017-08-18 Thread Thomas Lange
> On Thu, 17 Aug 2017 10:06:29 -0700, Nat Sincheler > said: > (I realize this is not strictly speaking an FAI issue, but I am hoping > that one you FAI users has a solution.) > We are trying to install the old Debian wheezy on a Dell PE 620 using > FAI. The first step

Re: CentOS install and /boot on /dev/md0

2017-08-18 Thread Thomas Lange
For Debian we use some code which handles all disks from a software raid md array. Have a look at https://github.com/faiproject/fai/blob/master/examples/simple/scripts/GRUB_PC/10-setup BTW, with grub 2 a device.map is not needed any more. Currently I'm testing the new code for GRUB-PC/10-setup on

new dracut packages in FAI package repository

2017-08-22 Thread Thomas Lange
The new dracut version 045+132-1 is now available in the repository of the FAI project. -- regards Thomas

My recent FAI activities

2017-09-07 Thread Thomas Lange
I just blogged about my work on FAI. Here's what I wrote: During DebConf 17 in Montréal I had a FAI demo session [1], where I showed how to create a customized installation CD and how to create a diskimage using the same configuration. This diskimage is ready for use with a VM software or can be b

Re: Running FAI in QEMU/KVM: Need a working configuration to install clients

2017-09-08 Thread Thomas Lange
I would use a bridged network for the qemu machine. Here are some details: http://wiki.fai-project.org/wiki/VirtualBox_for_your_first_FAI_installation -- regards Thomas

Re: Running FAI in QEMU/KVM: Need a working configuration to install clients

2017-09-08 Thread Thomas Lange
> On Fri, 08 Sep 2017 11:11:41 +, c.mo...@web.de said: > How can a client in network 10.96.131.0/24 booting PXE find the FAI server? This can only be done if client and server is in the same broadcast domain. Also check, that qemu is not blocking traffice between client and server. U

Re: Multiple debian editions on debian stretch server

2017-09-11 Thread Thomas Lange
> On Wed, 16 Aug 2017 17:37:39 -0300, "Fco Z." said: > I've been using fai since 2012 for over 100 hosts! . And it works great .  I will answer the questionnaire soon Any news on the questionnaire so far? -- regards Thomas

Re: FAI installation root file system modification not supported

2017-09-12 Thread Thomas Lange
> On Tue, 12 Sep 2017 11:11:48 +0100, André Rodier > said: > I run into an error. Any modification of the overlay filesystem is failing. Which FAI version are you using? Wheich kernel version? What's the output of cat /proc/cmdline I guess you are using some old kernel cmdline para

Re: PXE Boot fails: mount.nfs: Protocol not supported

2017-09-15 Thread Thomas Lange
> On Fri, 15 Sep 2017 10:15:34 +, c.mo...@web.de said: > Starting demohost (KVM, too) and booting PXE is generally working, but it fails in step "NFS mount". > The error message displayed in demohost is: > mount.nfs: Protocol not supported I guess you will be dropped into the

Re: Packages "fai-nfsroot" + "fai-setup-storage": when do I need to install them?

2017-09-19 Thread Thomas Lange
> On Tue, 19 Sep 2017 13:36:52 +, c.mo...@web.de said: > After the installation I can see that some packages are not installed: > fai-nfsroot > fai-setup-storage apt show fai-nfsroot . . This package contains the software that is only needed in the FAI nfsroot. Do not instal

Re: Packages "fai-nfsroot" + "fai-setup-storage": when do I need to install them?

2017-09-19 Thread Thomas Lange
> On Tue, 19 Sep 2017 14:19:23 +, c.mo...@web.de said: > sorry to ask again... is my understanding correct that using "fai-diskimage" is only required if I want to create disk images for virtual machines? Yes. > And will fai-setup install fai-nfsroot in FAI nfsroot (/srv/fai/nfs

Re: Error in phase DEBIAN/40-misc and GRUB_PC/10-setup

2017-09-19 Thread Thomas Lange
First, you should read the log files. Start with error.log: > InRelease Could not connect to localhost:3142 (127.0.0.1). - connect (111: > Connection refused) [IP: 127.0.0.1 3142] This is the port of the apt proxy apt-cacher-ng. You can disable using this in sources.list. > WARNING: These unkno

Re: Error in phase DEBIAN/40-misc and GRUB_PC/10-setup

2017-09-19 Thread Thomas Lange
> On Tue, 19 Sep 2017 15:03:30 +, c.mo...@web.de said: > Where is the configuration to use apt-cacher-ng (which is intended) stored? > demohost should use faiserver:3142 and not localhost:3142 Have a look at examples/simple/class/DEBIAN.var and do not modify the nfsroot manually i

Re: Error in phase DEBIAN/40-misc and GRUB_PC/10-setup

2017-09-19 Thread Thomas Lange
> On Tue, 19 Sep 2017 15:23:52 +, c.mo...@web.de said: > Searching for ":3142" I found the relevant files in /srv: Sort of. You are not using the FAISERVER configs for your client. They are only used, if you install an install server from CD. If you search for APTPROXY you will find th

Re: Error in phase DEBIAN/40-misc and GRUB_PC/10-setup

2017-09-19 Thread Thomas Lange
> On Tue, 19 Sep 2017 15:50:25 +, c.mo...@web.de said: > After setting the default > # if you want to use the faiserver as APT proxy > APTPROXY=http://faiserver:3142 > #Acquire::http { Proxy "http://faiserver:3142";; }; > the installation of demohost succeeded. OK. So a

Re: Error in phase DEBIAN/40-misc and GRUB_PC/10-setup

2017-09-20 Thread Thomas Lange
> On Wed, 20 Sep 2017 09:36:04 +, c.mo...@web.de said: > My question is: > If I want to upgrade nfsroot (with command fai-setup -kv), do I need to provide a proxy configuration for apt? First, you do not have to upgrade your nfsroot, after you've just created it. There's no need f

Re: fai 5.3 + debian stretch NFS issues

2017-09-29 Thread Thomas Lange
> On Thu, 28 Sep 2017 16:18:01 -0500, Mark Devaney > said: > Our previous jessie configuration works fine, but after updating the > nfsroot to wheezy we either get "mount.nfs: Protocol not supported" in > dracut (with NFS 4)  or overlay FS issues if we use NFS 3. Which drac

New video of FAI 5.4

2017-10-08 Thread Thomas Lange
I've created a new video that show how to create an ARM64 disk image on an x86 64bit machine using fai-diskimage. FAI needs about 6 minutes to create this cross-architecture disk image. Later I show how to boot this image with Qemu. The video can be found on http://fai-project.org/screenshots/ The

Re: FAI for ARM image building

2017-10-10 Thread Thomas Lange
> On Tue, 10 Oct 2017 10:09:24 +0300, Riku Voipio > said: > I've been exploring fai-diskimage for building fastbootable > filesystems and disk images for 96boards form factor devices. Hi Riku, great to see that you looked at fai-diskimage. I never heared the term "fastbootable".

Re: FAI for ARM image building

2017-10-10 Thread Thomas Lange
> On Tue, 10 Oct 2017 09:30:33 +, Holger Levsen > said: > some people have been proposing and using "fcopy -r /" in scripts/DEFAULT/05-fcopy > for more than a decade… sadly Thomas never picked it up. It works nicely and > flawless however. Thanks Holger, to bring this u

Re: FAI for ARM image building

2017-10-12 Thread Thomas Lange
Hi Riku, now I had a look at your linaro fai config space. Here are my comments: First I tried to call the fai-diskimage command using your config space. It failed when calling debootstrap :-( So I found a little bug in FAI 5.4 and fixed it :-) https://github.com/faiproject/fai/commit/efbb5a8448b

Re: FAI for ARM image building

2017-10-13 Thread Thomas Lange
> On Fri, 13 Oct 2017 11:13:34 +0300, Riku Voipio > said: > support. With all HW support in, we will see more clearly howto split > the classes. One thing you learn when using FAI for a longer time is to think about how to split things into classes. Only a few "large" classes or

Re: FAI for ARM image building

2017-10-13 Thread Thomas Lange
> On Fri, 13 Oct 2017 11:32:52 +0300, Riku Voipio > said: > fastboot is the protocol used on android and android-derived > bootloaders to flash an eMMC device. A fastbootable image is rootfs > converted to "fastboot sparse" image format, with img2simg or ext2simg > tools

Re: LVM setup on image creation

2017-10-20 Thread Thomas Lange
> On Fri, 20 Oct 2017 16:21:35 +0800, Kerwin Macrohon > said: > Hi Guys! > Was trying to create an image using LVM disk config but to no avail.  Is > this doable? Thank you! Yes. If you host does not have LVM, it's easy. If you host is also using LVM you must use FAI 5.4. Ol

Re: linux-fai Digest, Vol 124, Issue 9

2017-10-23 Thread Thomas Lange
It seems you are not using FAI 5.4. -- regards Thomas

Re: FAI deploying SLES12

2017-10-23 Thread Thomas Lange
> On Mon, 23 Oct 2017 11:09:29 +0200, c.mo...@web.de said: > I want to deploy SLES 12, however I could find a howto guide that offers a (trustful) starting point. > I found this wiki page (http://wiki.fai-project.org/index.php/Installing_SLES9_32Bit_and_Smart_PackageManager_with_FAI)

Re: FAI deploying SLES12

2017-11-02 Thread Thomas Lange
> On Mon, 23 Oct 2017 11:09:29 +0200, c.mo...@web.de said: > I want to deploy SLES 12, however I could find a howto guide that offers a (trustful) starting point. > I found this wiki page (http://wiki.fai-project.org/index.php/Installing_SLES9_32Bit_and_Smart_PackageManager_with_FAI)

Re: Provisioning Docker Containers with FAI

2017-11-07 Thread Thomas Lange
> On Tue, 7 Nov 2017 14:33:35 -0600, Itamar Gal said: > I'm able to install the FAI server in a Docker container without > any problems. Great to hear that this works. > Unfortunately I don't see any way to use a > Docker container as an FAI installation client, because FAI s

FAI server on Ubuntu

2017-11-08 Thread Thomas Lange
On IRC we had the question, if FAI can be installed on Ubuntu. Does anyone has a FAI server running on Ubuntu Xenial? I remember that there were major problems creating the nfsroot on a Ubuntu system, because of dracut and upstart in the past. But I'm not sure if these problems still apply or not.

FAI 5.5 released and new ISO images

2017-11-08 Thread Thomas Lange
The new FAI version 5.5 supports a very nice feature in fcopy. Using -S, fcopy itself can do variable substitution, which may replace your preinst scripts. Until now preinst scripts for fcopy were used for doing variable substitution. We also got rid of the need to have aptitude installed. More de

Re: FAI server on Ubuntu

2017-11-09 Thread Thomas Lange
> On Wed, 8 Nov 2017 16:55:08 -0800, Derek Poon > said: > It seems like http://ppa.launchpad.net/fai/ubuntu isn't being updated anymore? The latest version available for 16.04 is still 5.3.2-0~6669~ubuntu16.04.1. I do not work on the FAI packages in Ubuntu. In the past, wehad some

Re: FAI 5.5 released and new ISO images

2017-11-09 Thread Thomas Lange
> On Thu, 09 Nov 2017 22:48:37 +1300, Andrew Ruthven > said: > But you missed my pull request on github to add -S to the help output > of the fcopy command. ;) No, I added it short time before the release. https://github.com/faiproject/fai/commit/5f8e606b525c1760f831c2df7e6ef6761

Re: FAI server on Ubuntu

2017-11-09 Thread Thomas Lange
> On Wed, 8 Nov 2017 16:55:08 -0800, Derek Poon > said: > It seems like http://ppa.launchpad.net/fai/ubuntu isn't being updated anymore? The latest version available for 16.04 is still 5.3.2-0~6669~ubuntu16.04.1. Yes, currently noone seems to care on the Ubuntu packages. Even the

Re: Provisioning Docker Containers with FAI

2017-11-09 Thread Thomas Lange
> On Wed, 8 Nov 2017 17:20:19 -0600, Itamar Gal said: > I'm running variations of the following command: >     sudo fai -v -s /etc/fai -c FAIBASE /tmp/test You must use fai -v -s /etc/fai -c FAIBASE dirinstall /tmp/test P.S.: Please, no HTML mails. -- regards Thomas

<    7   8   9   10   11   12   13   14   15   >