Re: Proxy configuration (apt) during client installation

2014-11-16 Diskussionsfäden c2h5oh


Am So. Nov. 16 14:09:11 2014 GMT+0100 schrieb Thomas Lange:
> > On Sun, 16 Nov 2014 13:48:00 +0100, Christian Meyer  
> > said:
> 
> > is it possible to configure an apt proxy during client installation?
> Hi Christian, 
> 
> yes this is possible. If you install a new machine (no matter if it
> becomes the server or a client) a hook is called:
> hooks/updatebase.DEBIAN
> Inside this script the variable $APTPROXY is used (which can be set in
> class/*.var) for setting up the proxy inside /target

Wow, thanks a lot. That is great! Sorry that I didn't find it myself in the 
documentation.

 
> > Is there a way to change the NFSROOT/etc/apt/apt.conf.d/00proxy (which
> > lives on FAI-CD) during initial CD installation of the server?
> Yes, set $APTPROXY in you ocnfig space in class/*.var. Then is will be
> used during installation. You may want to remove
> $target/etc/apt/apt.conf.d/02proxy at the end of the installation.

Thanks for this hint. After installing apt-cacher-ng on the fai-server the 
server itself could use acng, too. Great!

Before submitting my FAI user experience there is still some (a lot?) work to 
do for me. But I'm getting closer :)

Christian 

Re: Network issue during FAI installation

2016-05-14 Diskussionsfäden c2h5oh


Am Sa. Mai 14 00:15:29 2016 GMT+0200 schrieb Thomas Lange:
 
> Some years ago, I had a defective cable which had only problems when
> using larger ethernet packets. Pinging worked very well, ...

In my case the network link was down: "no-CARRIER", so neither ping nor nfs 
worked. 

> I'm not aware of any reason that
> software or a different driver could "fix" a defective cable.

You are right. Same to me.
First I thought about an UEFI (settings) issue or something like that and 
didn't expect a new cable to work.
Strange. 

Christian 

Re: Dracut error with fai-cd?

2016-07-31 Diskussionsfäden c2h5oh
Hello Louis-Philippe,

Am Sa. Juli 30 01:25:12 2016 GMT+0200 schrieb Louis-Philippe Véronneau:
 
> I'm using the Debian Jessie version of the FAI packages.
 
> # dracut: FATAL: No or empty root= argument
... 
> # dracut: FATAL! Don't know how to handle `root=live:CDLABEL=FAI_CD`

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.

Christian 

Re: Problem with fai-cd and squashfs?

2017-04-26 Diskussionsfäden c2h5oh


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/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, because I never had any problems with it.

IMO this should be fixed.
Compressed Filesystems are more sensitive to damages. Up to 511 bytes truncated 
information  can affect multiple files.

My first attempt stopped booting, then I rebuild the CD and ended with SQUASHFS 
errors during laterly installation (e.g. while calling dpkg).

It is possible that my problems are the result of not including the package 
mirror in the iso. When a .deb from the mirror is damaged it probably is not so 
serious compared to damages in the install system.
I also stripped off all 'garbage' (unneeded classes, scripts and files) from 
configspace and I guess that you have not seen any problems because you got 
bitten where you didn't notice it.


Christian Meyer