Hey,
Is it possible to set labels on individual partitions with setup-storage
when GPT is being used?
Cheers,
Andrew
On Wed, 2014-08-20 at 11:19 +0200, Thomas Neumann wrote:
On Wednesday 20 August 2014 16:11:47 Andrew Ruthven wrote:
Is it possible to set labels on individual partitions with setup-storage
when GPT is being used?
Do you want to set a label so you can mount the filesystem by using
cy boot clients).
Well... I'm still using legacy boot for these machines. I've been
meaning to get UEFI network booting set up, but I just haven't had the
time. I thought I'd try and do that this month while we're in lockdown,
but I've been busy!
Cheers,
Andrew
[0] https://docs.fedoraproject.
ml/rhcos-4.2.18-x86_64-metal-
> bios.raw.gz
>
> Reiner Schulz
--
Andrew Ruthven, Wellington, New Zealand
and...@etc.gen.nz | linux.conf.au 2021, Canberra, AU
Catalyst Cloud:| http://lca2021.linux.org.au/
https://catalystcloud.nz|
a good example of how we can easily deploy other operating systems
using FAI.
Cheers,
Andrew
--
Andrew Ruthven, Wellington, New Zealand
and...@etc.gen.nz | linux.conf.au 2021, Canberra, AU
Catalyst Cloud:| http://lca2021.linux.org.au/
https://catalystcloud.nz|
-storage is unable to use that block device after this
point and the installation fails.
Is anyone else encountering issues like this? Any suggested fixes?
Cheers,
Andrew
--
Andrew Ruthven, Wellington, New Zealand
and...@etc.gen.nz | linux.conf.au 2021, Canberra, AU
Catalyst Cloud
On Fri, 2021-03-12 at 10:26 +0100, Thomas Lange wrote:
> > > > > > On Thu, 11 Mar 2021 22:43:31 +1300, Andrew Ruthven <
> > > > > > and...@etc.gen.nz> said:
>
> > Is the reason that setup-storage can't just leave these volumes
> alone
>
dy
copying the keys back into place, and the partitions don't need to be
mounted for the build phase.
Is the reason that setup-storage can't just leave these volumes alone
if they already exist?
Cheers,
Andrew
--
Andrew Ruthven, Wellington, New Zealand
and...@etc.gen.nz |
Cata
On Thu, 2021-04-29 at 22:48 +1200, Andrew Ruthven wrote:
> > > Is there an approach so that ISO images created with fai-cd
> > perform
> > > DHCP lease renewals?
> > As a workaround, you could write a hook, that starts dhclient.
> > Since the hooks
ly preserving data partition(s)) than
> risking RAID desync and related headaches. To keep the disk partitions
> aligned, you could use the "mirror" space for an extra swap partition :)
Heh, maybe. :)
We're just going through and rebuilding a bunch of servers now. Better th
--
Andrew Ruthven, Wellington, New Zealand
and...@etc.gen.nz |
Catalyst Cloud: | This space intentionally left blank
https://catalystcloud.nz |
s? I
have some I can most probably share. Could FAI have a "plugins" directory
that mimics the top level of a profile and allow for contained plugins to be
installed?
--
Andrew Ruthven, Wellington, New Zealand
and...@etc.gen.nz |
Catalyst Cloud: | This space inten
Puppet.
This isn't ideal as the secrets are still present in the NFSROOT for a short
period of time, but does solve the chicken and egg issue others mentioned
and removes the need for a generic "sign any request that comes in" that
others have suggested.
Cheers,
Andrew
--
Andrew
till need to have some credentials in the NFSROOT to
talk to the server.
It is primarily used for fetching and storing answers to questions on the
server. This allows us to have interactive builds that can save the answers
to the server so the next build can be automatic. Hence the "Semi".
On Fri, 2023-10-06 at 11:18 +0200, Thomas Lange wrote:
> > > > > > On Fri, 06 Oct 2023 21:57:28 +1300, Andrew Ruthven
> > > > > > said:
>
> > This isn't ideal as the secrets are still present in the NFSROOT for
> a short
> > period of
;$key" != "" ];
then
fcopy -M $key
fi
Cheers,
Andrew
On Tue, 2023-08-22 at 09:46 +0200, Thomas Lange wrote:
> I would suggest you are using a hook with an fcopy command to put
> those files to some other locations.
>
> > > > > > On Tue, 18 Jul 2023 2
ltiple files that match as the last match
would be what is used. FAI processes the files in the class directory
in shell sorting order.
We also use multiple Perl scripts that perform a regexes on the
hostname and sets classes that way. One script perl per cluster type or
customer.
Cheers,
Andrew
--
alls on many networks with a single
> server).
> If only machines had an "attestation key" by default... Maybe an USB
> key
> to insert in the machine being reinstalled... Possibly in an internal
> slot... Uhm... Still brainstorming...
>
> Tks,
> Diego
>
&g
; I could find is to save the secret in
> /srv/tftp/fai/pxelinux.cfg/C0A8xxyy in append line, like FAI_FLAGS,
> FAI_CONFIG_SRC and FAI_ACTION, but since append line can be at most
> 255
> chars there's not much space... I's good just for very small
> "secrets"
> (th
/config/class/DEBIAN.var with release=bullseye
> it's not working..
> Let me know if you want me to share some config files.
>
> Any help will be greatly appreciated :)
> Thanks!
--
Andrew Ruthven, Wellington, New Zealand
and...@etc.gen.nz |
Catalyst Cloud: | This space intentionally left blank
https://catalystcloud.nz |
repositories.
How about having task_repository check for another file, say
package_config/CLASS.gpg_dest that'd allow us to specify where to copy
package_config/CLASS.gpg to?
Cheers,
Andrew
--
Andrew Ruthven, Wellington, New Zealand
and...@etc.gen.nz |
Catalyst Cloud: | This space
nion.
Cheers,
Andrew
--
Andrew Ruthven, Wellington, New Zealand
and...@etc.gen.nz |
Catalyst Cloud: | This space intentionally left blank
https://catalystcloud.nz |
ult file that has:
default localboot
label localboot
localboot 0
So by default the boxes will just boot off the local disk.
--
Andrew Ruthven, Wellington, New Zealand
and...@etc.gen.nz |
Catalyst Cloud: | This space intentionally left blank
https://catalystcloud.nz |
class of $RELEASE_$ARCH and use that to select the basefile.
Cheers,
Andrew
--
Andrew Ruthven, Wellington, New Zealand
and...@etc.gen.nz |
Catalyst Cloud: | This space intentionally left blank
https://catalystcloud.nz |
sefile you want
to use.
Are you setting BOOKWORM64?
Cheers,
Andrew
--
Andrew Ruthven, Wellington, New Zealand
and...@etc.gen.nz |
Catalyst Cloud: | This space intentionally left blank
https://catalystcloud.nz |
and have SALT set CACERTIFICATES
Cheers,
Andrew
--
Andrew Ruthven, Wellington, New Zealand
and...@etc.gen.nz |
Catalyst Cloud: | This space intentionally left blank
https://catalystcloud.nz |
imary - 0- - -
> > >
> > > disk_config raid fstabkey:uuid
> > > raid1 /boot disk1.1,disk2.1 - - mdcreateopts="--verbose
> > > --metadata=0.90" createopts="-L boot"
> > > raid1 - disk1.4,disk2.4 - -
> > >
> >
d. So it
should just be:
disk_config raid
Cheers,
Andrew
--
Andrew Ruthven, Wellington, New Zealand
and...@etc.gen.nz |
Catalyst Cloud: | This space intentionally left blank
https://catalystcloud.nz |
Cheers,
Andrew
--
Andrew Ruthven, Wellington, New Zealand
and...@etc.gen.nz |
Catalyst Cloud: | This space intentionally left blank
https://catalystcloud.nz |
94-disklist-order
Description: application/shellscript
On Sat, 2024-01-20 at 01:27 +1300, Andrew Ruthven wrote:
> On Fri, 2024-01-19 at 09:48 +0100, Thomas Lange wrote:
>
>
> > I use this script to manipulate the disklist:
> > http://fai-project.org/download/misc/99-disklist.sh
>
> Attached is the script which
nstall to automatically reboot.
This is an on-going battle with every new hardware type! Definitely worth
doing though.
Cheers,
Andrew
--
Andrew Ruthven, Wellington, New Zealand
and...@etc.gen.nz |
Catalyst Cloud: | This space intentionally left blank
https://catalystcloud.nz |
initramfs packages on your
target?
Cheers,
Andrew
--
Andrew Ruthven, Wellington, New Zealand
and...@etc.gen.nz |
Catalyst Cloud: | This space intentionally left blank
https://catalystcloud.nz |
Hey,
On Fri, 2024-05-31 at 13:19 +0200, Paul via linux-fai wrote:
> I've only installed "cryptsetup" via "package_config".
>
> Is package_config the right way for both pkgs?
Yes. You need cryptsetup-initramfs so that the generated initramfs has the
LUKS stuff in it
thing else that I should be doing here?
Cheers,
Andrew
--
Andrew Ruthven, Wellington, New Zealand
and...@etc.gen.nz | linux.conf.au 2016
New Zealand's only Cloud: | LCA By the Bay, Geelong, AU
https://catalyst.net.nz/cloud | http://lca2016.linux.org.au
that udev isn't picking up the new LV in time to create the
device before lvcreate tries to wipe the start of the device. I've
worked around this for now by modifying:
/usr/share/fai/setup-storage/Commands.pm
to have lvcreate have the "-Z n' parameter.
Cheers,
Andrew
--
Andrew Ruthven, Welli
On Tue, 2016-04-12 at 10:10 +0200, Thomas Lange wrote:
> >
> > >
> > > >
> > > > >
> > > > > >
> > > > > > On Tue, 12 Apr 2016 12:04:57 +1200, Andrew Ruthven <andrew@
> > > > > > etc.gen.nz>
On Fri, 2016-04-15 at 11:49 +1200, Andrew Ruthven wrote:
> On Tue, 2016-04-12 at 10:10 +0200, Thomas Lange wrote:
> > You can disable the ramdisk by setting
> > FAI_RAMDISK=/doesnotexist
> > in class/*.var
> I've put this into LAST.var and now I can complete installs withou
fai-softupdate.
> I plan to release FAI 5.2 in september, so any feedback is welcome.
I'll give it a whirl in the new week.
Cheers,
Andrew
--
Andrew Ruthven, Wellington, New Zealand
and...@etc.gen.nz | linux.conf.au 2016
New Zealand's only Cloud: | LCA By the Bay,
oach than that I've done.
Cheers,
Andrew
--
Andrew Ruthven, Wellington, New Zealand
and...@etc.gen.nz | linux.conf.au 2017, Hobart, AU
New Zealand's only Cloud: | The Future of Open Source
https://catalyst.net.nz/cloud | http://linux.co
Hey,
Is it possible to have Dracut stop on the first interface that receives
a DHCP configuration?
Some of my servers have 8 NICs, and while we typically netboot off
eth0, the rest might be plugged into switches and it can take a long
time for the rest to time out.
Cheers,
Andrew
--
Andrew
On Tue, 2016-09-20 at 09:58 +0200, Thomas Lange wrote:
> >
> > >
> > > >
> > > > >
> > > > > >
> > > > > > On Tue, 20 Sep 2016 15:12:30 +1200, Andrew Ruthven <andrew@
> > > > > > etc
> > > (Repeated as first attempt didn't go through.)
> > > > >
> > > > > Greetings,
> > > > > I have been asked to setup some systems with an encrypted
> > > > disk
> > > > > configuration (see below for FAI setup-stor
On Tue, 2016-09-20 at 20:07 +1200, Andrew Ruthven wrote:
> On Tue, 2016-09-20 at 09:58 +0200, Thomas Lange wrote:
> > IIRC if you specify a NIC on the kernel cmdline, it only probes
> > this
> > interface. For more info read dracut.cmdline(7).
>
> Yes, but then som
Hey,
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).
Would this be of interest?
Cheers,
Andrew
--
Andrew Ruthven, Wellington, New
On Thu, 2016-09-22 at 00:48 +0200, Thomas Lange wrote:
> >
> > >
> > > >
> > > > >
> > > > > >
> > > > > > On Thu, 22 Sep 2016 10:39:57 +1200, Andrew Ruthven <andrew@
> > > > > >
rive, and if it doesn't exist, set the
INITIAL class. But that seems a bit brittle to me.
How are others handling that situation?
Cheers,
Andrew
--
Andrew Ruthven, Wellington, New Zealand
and...@etc.gen.nz | linux.conf.au 2017, Hobart, AU
New Zealand's only Cloud: | The Fu
could run it in a hook script with just the drives you
> want to partition. Using the '-D' option allows you to set the disks.
Yes, they are different disks. Yeah, I guess I could do that. A little
bit awkward, but certainly do-able.
Cheers,
Andrew
> On Wed, 21 Sep 2016 at 10:43 Andrew Ruthven <
T as
well. ;)
--
Andrew Ruthven, Wellington, New Zealand
and...@etc.gen.nz | linux.conf.au 2018, Sydney, AU
New Zealand's only Cloud: | Just a little bit of history
https://catalyst.net.nz/cloud | http://linux.conf.au
ttp://fai-project.org/screenshots/
>
> The log files of this installation are available at
> https://fai-project.org/logs/armhost/last/
>
--
Andrew Ruthven, Wellington, New Zealand
and...@etc.gen.nz | linux.conf.au 2018, Sydney, AU
New Zealand's only Cloud: | J
and. ;)
Thank you!
--
Andrew Ruthven, Wellington, New Zealand
and...@etc.gen.nz | linux.conf.au 2018, Sydney, AU
New Zealand's only Cloud: | Just a little bit of history
https://catalyst.net.nz/cloud | http://linux.conf.au
On Thu, 2017-11-09 at 11:40 +0100, Thomas Lange wrote:
> > > > > > On Thu, 09 Nov 2017 22:48:37 +1300, Andrew Ruthven <andrew@
> > > > > > etc.gen.nz> said:
>
> > But you missed my pull request on github to add -S to the help
> output
&
ud
>
> If you have any comments, feature requests or feedback, do not
> hesitate to contact me.
>
--
Andrew Ruthven, Wellington, New Zealand
and...@etc.gen.nz | linux.conf.au 2018, Sydney, AU
New Zealand's only Cloud: | Just a little bit of history
https://catalyst.net.nz/cloud | http://linux.conf.au
ext4 defaults
-- end --
Cheers.
Andrew
--
Andrew Ruthven, Wellington, New Zealand
and...@etc.gen.nz | linux.conf.au 2018, Sydney, AU
New Zealand's only Cloud: | Just a little bit of history
https://catalyst.net.nz/cloud | http://linux.conf.au
g some default createopts from an environment
variable? I use generic disk_configs, like QEMU_GUEST for any distro if
an VM is being built. It'd be nice to not have to special case all the
Ubuntu >= XENIAL distros.
Then in my UBUNTU.var file I can set createopts if need be (I set
classes like WILY_GT for
out adding that mkdir -p?
Cheers,
Andrew
--
Andrew Ruthven, Wellington, New Zealand
and...@etc.gen.nz| linux.conf.au 2019, Christchurch, NZ
https://catalystcloud.nz | https://lca2019.linux.org.au
both trusty and sid, /usr/share/debootstrap/scripts/stretch and
jessie are all symlinks to the sid script.
Cheers,
Andrew
--
Andrew Ruthven, Wellington, New Zealand
and...@etc.gen.nz| linux.conf.au 2019, Christchurch, NZ
https://catalystcloud.nz | https://lca2019.linux.org.au
sk warned me that the device has an "ext4 signature" and that it
> will be destroyed when continuing.
> So i did it and with next reboot FAI installed without an error.
>
> Christian
>
--
Andrew Ruthven, Wellington, New Zealand
and...@etc.gen.nz | li
On Thu, 2018-11-22 at 13:06 +0100, Thomas Lange wrote:
> OK, I will just add the mkdir into FAI. I guess an older deboostrap
> version does not create this device.
Cool, thank you. But, it does occur to me that this'll only help if the
PPA for Ubuntu is updated. ;)
Cheers,
Andrew
--
e other tooling
around it exists any longer (like how to make the encrypted file, or
how to manage GPG keys).
Cheers,
Andrew
--
Andrew Ruthven, Wellington, New Zealand
and...@etc.gen.nz | linux.conf.au 2020, Gold Coast, AU
Catalyst Cloud: | https://lca2020.linux.o
rently deployed via Ansible playbooks. I've been
meaning to write a blog post about this and publish the playbooks...
Information from my previous iteration is here:
http://blog.etc.gen.nz/archives/131-Network-boot-a-Raspberry-Pi-3.html
Cheers,
Andrew
--
Andrew Ruthven, Wellington, Ne
idn't seem to help.
>
> Is this something you've come across before whan using this hook?
>
> Thanks
>
> Jerry
>
>
>
>
>
>
> --
> ---
>
> Jerry Steele
> Telephone: +44 (0)7492 910225
> GPG: 43A3A8C6
>
--
Andrew Ruthven, Welling
Hey,
When we manually create them, we tend to name our VGs for SSDs as: vg-
ssd[0-9]+ .
However, setup-storage doesn't like that and ends up confused with the
colums on the vg line in the disk_config file.
Would it be able possible to have VG names allow hyphens?
Cheers,
Andrew
--
Andrew
econds by default:
>
> rd.net.timeout.iflink=10
>
> ..or even less if that will still work for the interface you do want
> configured :)
>
>
>
> Cheers,
> Just
>
>
> On Tue, 2 Jul 2019 at 07:29, Andrew Ruthven
> wrote:
> > Hey,
> >
> >
e started by the kernel and eradicate anything from the
disks. Based on a hook written by W. Walkowiak in 2013, but modified
over the years to fix various new behaviours I've discovered.
Save the file, set a class of WIPEDISKS and, well, all your data will
be gone. ;)
Cheers,
Andrew
--
Andre
interface...
Cheers,
Andrew
--
Andrew Ruthven, Wellington, New Zealand
and...@etc.gen.nz | linux.conf.au 2020, Gold Coast, AU
Catalyst Cloud: | https://lca2020.linux.org.au/
https://catalystcloud.nz|
ibed here:
>
> http://fai-project.org/fai-guide/#_a_id_nfsv4_a_how_to_use_nfs_v4_with_the_nfsroot
--
Andrew Ruthven, Wellington, New Zealand
and...@etc.gen.nz | linux.conf.au 2020, Gold Coast, AU
Catalyst Cloud:|https://lca2020.linux.org.au/
https://catalystcloud.nz|
Hey Thomas,
On Tue, 2019-07-02 at 13:38 +0200, Thomas Lange wrote:
> > > > > > On Tue, 02 Jul 2019 22:57:48 +1200, Andrew Ruthven > > > > > etc.gen.nz> said:
>
> > When we manually create them, we tend to name our VGs for SSDs
> as: vg-
>
, with
minimal configuration to bring up a degraded LACP bond.
Has anyone already done this?
Cheers,
Andrew
--
Andrew Ruthven, Wellington, New Zealand
and...@etc.gen.nz | linux.conf.au 2020, Gold Coast, AU
Catalyst Cloud:|https://lca2020.linux.org.au/
https
fsroot package pre-installation script subprocess
> > returned error exit status 2
> >
> > when upgrading FAI from 5.9.1 to 5.9.2
> >
> > I had to manually chroot to the nfsroot and remove the diversion,
> > then it worked. Maybe this should be included in the
On Fri, 2020-02-28 at 09:24 +0100, Thomas Lange wrote:
> > > > > > On Fri, 28 Feb 2020 16:21:38 +1300, Andrew Ruthven <
> > > > > > and...@etc.gen.nz> said:
>
> > All the servers support Redfish, so I can script uploading a
> disk image
&
On Fri, 2020-01-03 at 08:56 +0100, Thomas Lange wrote:
> > > > > > On Fri, 03 Jan 2020 11:49:52 +1300, Andrew Ruthven <
> > > > > > and...@etc.gen.nz> said:
>
> > Would it be possible to get the fai-server available for Trusty
> from
>
ed -i 's/,metadata_csum//' /etc/mke2fs.conf
-- End --
Cheers,
Andrew
[0] I run lspci during the build to identify PCI cards which need
customised actions, and a new server uses 32 byte PCI IDs which lspci
on Jessie doesn't support.
--
Andrew Ruthven, Wellington, New Zealand
and...@et
Hey,
Would it be possible to get the fai-server available for Trusty from
http://ppa.launchpad.net/fai/ppa/ubuntu updated so that at lase fai-
make-nfsroot includes the fix to run mkdir -p $NFSROOT/dev/pts in the
upgrade_nfsroot function?
Cheers,
Andrew
--
Andrew Ruthven, Wellington, New
.
Is there an approach so that ISO images created with fai-cd perform
DHCP lease renewals?
Cheers,
Andrew
--
Andrew Ruthven, Wellington, New Zealand
and...@etc.gen.nz |
Catalyst Cloud: | This space intentionally left blank
https://catalystcloud.nz |
On Thu, 2021-04-29 at 12:04 +0200, Thomas Lange wrote:
> > > > > > On Thu, 29 Apr 2021 21:21:06 +1200, Andrew Ruthven <
> > > > > > and...@etc.gen.nz> said:
>
> > Dracut acts as a DHCP client, but is a single shot only. Once
> the
>
heers,
Andrew
--
Andrew Ruthven, Wellington, New Zealand
and...@etc.gen.nz |
Catalyst Cloud: | This space intentionally left blank
https://catalystcloud.nz |
Lange wrote:
> Hi Andrew,
>
> unshare --pid is also called in fai-make-nfsroot. Does it also
> need to be removed in there or only in bin/fai?
> > > > > > On Thu, 05 Jan 2023 20:54:28 +1300, Andrew Ruthven
> > > > > > said:
>
> > Hey,
ering a passphrase during the build process.
Another option for ssh which I am considering is using PKI for it. Then
servers and clients just need to trust a CA.
Cheers,
Andrew
--
Andrew Ruthven, Wellington, New Zealand
and...@etc.gen.nz |
Catalyst Cloud: | This space intentionally left blank
https://catalystcloud.nz |
78 matches
Mail list logo