On Tue, 2022-09-06 at 15:07 -0700, andrew bezella wrote:
[...]
> when a logical volume exists on a metadevice then that lv was being
> activated soon after the completion of `mdadm --assemble --scan --
> config=/tmp/fai/mdadm-from-examine.conf`. this caused the subsequent
> `mdadm -W
ni-koeln.de/pipermail/linux-fai/2013-November/010229.html
--
andrew bezella
internet archive
99-disklist.sh
Description: application/shellscript
ntly selected at build time and
defaults to systemd_background. if/when FAI migrates to systemd this
may raise its head again.
hope this helps if someone else has a similar issue.
andy
--
andrew bezella
internet archive
# config file for setup-storage
#
# disabling both -c (mount-count-de
if this might
somehow be specific to our FAI configuration space/setup. to others
who have deployed ubuntu: are you experiencing or have you already
worked around this issue?
thanks in advance.
andy
1. https://github.com/faiproject/fai-config/pull/14
--
andrew bezella
internet archive
t looks like jammy will have the
still-current 5.10.3 release with some ubuntu-specific changes:
https://packages.ubuntu.com/source/jammy/fai
hth,
andy
--
andrew bezella
internet archive
thanks in advance for clarification...
andy
(and apologies for the lack of proper threading, i accidentally deleted
the message before replying)
--
andrew bezella
internet archive
there.
if you want to avoid the systemd interface naming, some solutions that
could be implemented can be found at https://www.debian.org/releases/st
able/amd64/release-notes/ch-information.en.html#migrate-interface-names
hth...
andy
--
andrew bezella
internet archive
`exit` but that was removed in commit a3946b9.
it looks like initializing `$final_exit_code` resolves this problem.
i've submitted a PR with this change.
thank you!
andy
--
andrew bezella
internet archive
.
andy
1. https://github.com/faiproject/fai/pull/98
--
andrew bezella
internet archive
is all gnome-related. perhaps it would be
better positioned as `scripts/GNOME/91-misc` with an `ifclass -o DEBIAN
UBUNTU` wrapper?
thank you for all the time and effort that goes into FAI!
andy
1.
https://github.com/faiproject/fai-config/commit/d6458edd470bf0012e323e16c263c3f4fdc5e894
/lib/subroutines#L1078
2.
https://github.com/faiproject/fai-config/blob/7663f5eca298c3da26b0e59336c8be4174bdefb6/scripts/FAIBASE/10-misc#L20
--
andrew bezella
internet archive
d_c3_a_the
_configuration_space_and_its_subdirectories
tia...
andy
--
andrew bezella
internet archive
; if
that works (and barring feedback/concerns) i'll then submit an mr to
the fai repo.
thanks...
andy
--
andrew bezella
internet archive--- a/lib/updatebase 2016-04-08 15:36:40.617083832 -0700
+++ b/lib/updatebase 2018-07-06 16:32:01.763344155 -0700
@@ -10,8 +10,12 @@
if [ "$FAI_A
nk you!
andy
[1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=858238#10
[2] https://youtu.be/mZlYVYAfHZQ?t=9m15s
--
andrew bezella <abeze...@archive.org>
internet archive
nstall/FAI_CLASSES`
hth...
andy
--
andrew bezella <abeze...@archive.org>
internet archive
1,115200n8 \
FAI_FLAGS=verbose,createvt
FAI_CONFIG_SRC=git+ssh://g...@myhost.us.archive.org/fai.git FAI_ACTION=sysinfo
[line continuations added]
--
andrew bezella <abeze...@archive.org>
internet archive
/github.com/faiproject/fai/commit/bc88a9e5d2ca21d7c19cb7b39c9e
> a64cf905c2fc
>
> So, I think currently there's no need to substitute hyphen and dot
> with underscore for the FAI class names and we can leave this
> unchanged. But I will improve the documentation about class names.
--
;
No basefile matching a class name was found at [FAI_BASEFILEURL]
possibly related to the announcement at https://lists.gnu.org/archive/h
tml/bug-bash/2015-07/msg00027.html which mentions a couple changes to
indirect variable expansion. unsure if the above is intentional or
collateral damage. &q
t;vm-ops0.us.archive.org"
% dash ./fetch-basefile
./fetch-basefile: 59: ./fetch-basefile: Bad substitution
% bash ./fetch-basefile
No basefile matching a class name was found at [FAI_BASEFILEURL]
andy
--
andrew bezella <abeze...@archive.org>
internet archive
On Wed, 2017-07-26 at 08:35 -0700, andrew bezella wrote:
> it could perhaps be re-worded along the lines of "All class names are
> restricted to uppercase letters and underscores [A-Z_] (except the
> FAI-
> defined class matching the hostname)" and maybe placed more
> prom
E
DHCPC CHROOT LINUX DEFAULT '
+ for c in '$revclasses'
+ id=found_LAST
+ '[' X '!=' X ']'
+ for c in '$revclasses'
+ id=found_vm-ops0.us.archive.org
+ '[' X '!=' X ']'
+ for c in '$revclasses'
+ id=found_XENIAL64
+ '[' XXENIAL64.tar.xz '!=' X ']'
+ found=1
hth...
andy
--
andrew
...
andy
--
andrew bezella <abeze...@archive.org>
Internet Archive
end" line.
see attached for a working (edited) example. hth,
andy
1.
http://www.syslinux.org/wiki/index.php?title=SYSLINUX#SERIAL_port_.5Bbaudrate_.5Bflowcontrol.5D.5D
--
andrew bezella <abeze...@archive.org>
Internet Archive
serial 1 115200 0
default fai-generated
label fai-generated
kernel
o fai.conf or if there was a pressing need for it to be
relocated. minor issue, though.
thanks!
andy
--
andrew bezella <abeze...@archive.org>
Internet Archive
On Tue, 2016-08-09 at 14:12 -0700, Ian Kelling wrote:
>
> Yes, I'm following this path. At the top of 30-interface, I have a
> condition
> for if the os is in a class that uses a persistent name, and inside
> I have this code:
[...]
oh! i like that solution, thanks for sharing
appear as enp3s0 & enp3s1
(or enp7s0f0 on different hw).
--
andrew bezella <abeze...@archive.org>
Internet Archive
8/21/understanding-systemds-predictable-network-device-names/
hth...
andy
--
andrew bezella <abeze...@archive.org>
Internet Archive
"$(udevadm test /sys/class/net/$NIC1 2>/dev/null | fgrep
> ID_NET_NAME_PATH | cut -d= -f2)"
> fi
> elif [ $FAI_ACTION = "dirinstall" ] ; then
> if ifclass -o PRECISE TRUSTY ; then
> NIC1="eth0"
> else
> NIC1="ens4"
>
moment, please update that bug to reflect that it affects
you)
thanks again...
andy
--
andrew bezella <abeze...@archive.org>
Internet Archive
$FAI_CONFIG_SRC
+env HOME=/root curl -f -O --retry 3 $FAI_CONFIG_SRC
ret=$?
if [ $? -eq 0 ]; then
echo "done"
thoughts/feedback? tia...
andy
--
andrew bezella <abeze...@archive.org>
Internet Archive
defaults,errors=remount-ro
primary swapRAM:110%swap sw
hope that helps...
andy
--
andrew bezella <abeze...@archive.org>
Internet Archive
to get a xenial nfsroot working.
i can confirm that fai 5.0.3 on a 14.04/trusty host allowed me to create
a working jessie nfsroot from which i am able to initiate installs via a
16.04/xenial basefile.
andy
--
andrew bezella <abeze...@archive.org>
Internet Archive
age(s) that depended on
initramfs-tools and rebuilt to depend on linux-initramfs-tool instead
(which dracut Provides). but once that was done it turned out that
(again, iirc) ubuntu's initramfs management didn't actually work
w/dracut in place.
at that point i gave up and went with a jessie nfsroot.
the .asc file into config/package_config and it
will be used in the client install:
Calling task_updatebase
Loading APT key from abezella.asc OK
Loading APT key from fai_ppa.asc OK
--
andrew bezella <abeze...@archive.org>
Internet Archive
$basefile
- gzip -dc $basefile | tar -C $FAI_ROOT -xpf -
+ gzip -dc $basefile | tar -C $FAI_ROOT --numeric-owner -xpf -
else
echo No base.tgz found. Calling debootstrap.
[ -z $FAI_DEBOOTSTRAP ] die $FAI_DEBOOTSTRAP undefined.
Aborting
--
andrew
On Wed, 2014-08-06 at 13:11 +0200, Thomas Neumann wrote:
P.S.: @Andrew: Do you know where 'grok' is coming from?
it's from mars :)
brought to earth by valentine michael smith in heinlein's stranger in a
strange land
--
andrew bezella abeze...@archive.org
Internet Archive
hth
andy
--
andrew bezella abeze...@archive.org
Internet Archive
related documentation (or counter-examples), please share!
thanks...
andy
--
andrew bezella abeze...@archive.org
Internet Archive
sda(?) personally i don't edit BOOT_DEVICE, but have changed
GRUB_PC/10-setup to install on sda/sdb instead of md0.
hth. sorry for the ubuntu-specific links, but those're easier for me to
track down right now.
andy
--
andrew bezella abeze...@archive.org
Internet Archive
/by-* would be
nice) but works for me.
thanks...
andy
[1] my (certainly limited and possibly outdated) understanding is that
the by-path listings (udev's ENV{ID_PATH}) are not dependent on the
order devices are seen by the kernel.
--
andrew bezella abeze...@archive.org
Internet Archive
://bugs.debian.org/cgi-bin/bugreport.cgi?bug=686388
i may be missing something, but it looks like a bug and i'll open a new
report unless i hear otherwise...
thanks!
andy
--
andrew bezella abeze...@archive.org
Internet Archive
# config file for setup-storage
#
# disabling both -c (mount-count
a hook to updatebase containing:
fai-divert -a /sbin/initctl
i was wondering if others have encountered this, whether there's a
better workaround, and/or if initctl should be added to the list of
automatic diversions in updatebase?
thanks...
andy
--
andrew bezella abeze...@archive.org
Internet
to give options to parted (e.g. to create a
GRUB BIOS boot partition). The option to parted needs to be of the form
set N bios_grub on, where N is the partition number.
for this it may make sense to use disklabel:gpt-bios. it creates an
add'l partition for bios_grub.
--
andrew bezella abeze
(partition and mountdisk hooks), so they're not relevant
to a dirinstall. you could (as mentioned in the guide) use a
class/*.var snippet to set it if desired.
--
andrew bezella abeze...@archive.org
Internet Archive
-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
--
andrew bezella abeze...@archive.org
Internet Archive
-bin/bugreport.cgi?bug=661730
includes a 1-line patch you could try.
--
andrew bezella abeze...@archive.org
Internet Archive
;
i didn't notice any other adverse effects and the installation completed
as expected.
should i file this as a bug?
thank you!
andy
--
andrew bezella abeze...@archive.org
Internet Archive
xscreensaver
xscreensaver-gl
xterm
changing the first line from PACKAGES aptitude to PACKAGES
aptitude-r should ensure that recommended dependencies of the listed
packages are also installed.
see also:
http://fai-project.org/fai-guide.html#packageconfig
--
andrew bezella abeze...@archive.org
Internet
--
andrew bezella abeze...@archive.org
Internet Archive
.
+1. excellent site. personally, as configuration mgmt tools mature i'm
becoming less a fan of the gold server, but TMTOWTDI.
andy
--
andrew bezella abeze...@archive.org
Internet Archive
reply!
to satisfy a concern on reinstalls and future-proofing, are you able
to confirm that the 0-100% workaround partitioning gives the same
results as the patched 100%? otherwise i'd be happy to test the patch
and verify this myself.
thanks again...
andy
--
andrew bezella abeze...@archive.org
=[2345]
stop on runlevel [!2345]
respawn
exec /sbin/getty -L 9600 ttyS0 vt102
looks correct in and of itself, but i haven't tried this in fai.
andy
--
andrew bezella abeze...@archive.org
Internet Archive
with this?
this might be what you are looking for:
http://fai-project.org/fai-guide/ar01s07.html
7.8. Software package configuration
Before installing packages, fai will add the content of all files named
package_config/*.asc to the list of apt keys.
hth
andy
--
andrew bezella abeze...@archive.org
Internet
hth
andy
[1] https://lists.uni-koeln.de/pipermail/linux-fai/2010-October/008418.html
--
andrew bezella abeze...@archive.org
Internet Archive
#462171:
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/462171
thank you!
andy
--
andrew bezella abeze...@archive.org
Internet Archive
On Thu, 2010-09-23 at 10:45 +0200, Stephan Hermann wrote:
[...]
Did you file this bug in the BTS for the FAI package?
I think it would be good, if that is fixed upstream...
done:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=597870
thank you!
andy
--
andrew bezella abeze
.
there is a similar (correct) snippet of code in make-fai-nfsroot and i
made a simple tweak to fai-setup to match that. it appears to fix the
problem. patch file attached.
thank you for your time and effort in making fai available for ubuntu.
andy
--
andrew bezella abeze...@archive.org
Internet
, but a switch isn't a good and
valid option for now IMO.
fwiw i was seeing frequent ipconfig hangs with the klibc-utils from
lucid. based on this thread i pulled in klibc-utils 1.5.20-1 and
recreated the nfsroot. this appears to have eliminated the problem.
thanks!
andy
--
andrew bezella
58 matches
Mail list logo