Jarrod Johnson
2268d7f65a
Fix hotplug firmware in suse diskless
2023-09-01 13:51:17 -04:00
Jarrod Johnson
abd5f4e9f2
Fix shebang in firstboot on ubuntu cloning
2023-09-01 13:51:02 -04:00
Jarrod Johnson
f6e658c341
Add site CA to ubuntu profiles on install
2023-09-01 13:25:20 -04:00
Jarrod Johnson
44ec390f40
Add post.sh to ubuntu cloning
2023-09-01 12:29:27 -04:00
Jarrod Johnson
6ab91b50af
Add missing bits of Ubuntu diskless
2023-09-01 10:55:18 -04:00
Jarrod Johnson
1f32ef2310
Implement basic netplan support
...
Start with single links, ipv4 only for ubuntu.
2023-09-01 10:07:51 -04:00
Jarrod Johnson
af4ca64da8
Fix hotplug firmware to use rootfs after boot
2023-08-24 10:53:00 -04:00
Jarrod Johnson
53d2b873a2
Package ubuntu 22.04 diskless
2023-08-17 11:28:29 -04:00
Jarrod Johnson
bc7dbeebea
Add ubuntu 22.04 diskless
2023-08-17 11:16:32 -04:00
Jarrod Johnson
1b2d8a0596
Merge branch 'ubuntucloning' of github.com:lenovo/confluent into ubuntucloning
2023-08-17 11:16:01 -04:00
Simon Thompson
b27542ec00
Confignet does not set autoconnect with network manager so disk installed images do not bring up interface on reboot
2023-08-17 10:30:36 +02:00
Jarrod Johnson
84d23bb1fd
Begin work on Ubuntu cloning
2023-08-16 12:00:50 -04:00
Jarrod Johnson
95c5253944
Remove CIDR prefix length in ubuntu 20 deployment
...
This produces invalid configuration for subiquity otherwise.
2023-08-11 15:01:55 -04:00
Jarrod Johnson
ca2dcd2dbe
Reference identity network in ubuntu 20.04
...
When using identity image, also use identity image
for network configuration.
2023-08-11 14:34:12 -04:00
Jarrod Johnson
dba6e7f378
Change Ubuntu 20.04 to be consistent to 22.04
...
This aims to bring
identity image deployment fully to ubuntu 20.0.4.
2023-08-11 13:44:37 -04:00
Jarrod Johnson
0b7247d386
Fix CentOS 7 routed deployment with identity image
...
Numerous issues prevented the identity image support from actually running,
correct them.
2023-08-10 16:27:42 -04:00
Jarrod Johnson
75add230b6
Skip API key init on checkonly runs
...
Checkonly does not require API key, and makes apiclient more dependent
on material that is unlikely to exist early in a deployment.
2023-08-09 11:13:09 -04:00
Jarrod Johnson
75082c4418
Move up creation of ca.pem
2023-08-03 14:03:36 -04:00
Jarrod Johnson
a18d0f10b7
Clean up stale lvm devices files
...
During cloning, stale lvm devices file may cause
ugly output. Remove stale files before proceeding down steps
that trigger lvm warnings.
2023-07-26 07:54:41 -04:00
Jarrod Johnson
65ac3de21b
Take EL9 version of image2disk for improvements with parted supervision
2023-07-26 07:26:49 -04:00
Jarrod Johnson
c9d9a3cc54
Add EL9 cloning support
...
Main difference from EL8 is different grub strategy. To cope, capture
the uuid of new /boot and manipulate the
stub grub.cfg with the right uuid.
In EL8, the efi has the main grub, EL9 changes to have /boot host the 'real' grub,
causing us to have to modify the stub grub.
2023-07-25 17:09:37 -04:00
Jarrod Johnson
809099c8f8
Specifically wait for /dev/disk/by-label
...
When udev is populating the disk hierarchy, it can be a long time
before the 'by-label' is specifically ready.
Wait for that specific entry to come along before continuing to
check if there's an identity image.
2023-07-07 15:32:47 -04:00
Jarrod Johnson
41437c511b
Fix when networkmanager breaks one of our connections
...
This usually happens with ipv6 link local used
in initramfs stage, after networkmanager may
mutilate the ipv6 connectivity.
2023-06-12 08:49:13 -04:00
Jarrod Johnson
e9dd7da775
Fix syntax error in el7 identity image support
2023-06-02 08:55:27 -04:00
Jarrod Johnson
bc684b82b4
Implement identity image based deployment for EL7
...
Though older, it is still popularly used.
2023-06-01 16:49:17 -04:00
Jarrod Johnson
5e72d40c03
Fix compatibility issue with python2
2023-06-01 13:31:32 -04:00
Jarrod Johnson
7ab2aff7f2
Restore syntax of EL7 deployment
...
Inadvertent incomplete checkin
broke syntax of EL7, fix to have it
work as-is for now.
2023-06-01 09:20:17 -04:00
Jarrod Johnson
c3fc931ba4
Fix python2 compatibility issue for port forwarding
...
The measure for predictable port numbering
was done with python3 in mind, without consideration
of python2.
2023-06-01 09:18:36 -04:00
Jarrod Johnson
fc29ddb913
Improve routed EL8 deployment and add debug shell on tty2
2023-05-24 11:02:23 -04:00
Jarrod Johnson
b06b77f5a5
Fix issues with confluent media deployment on multi-nics in routed env
2023-05-23 17:22:38 -04:00
Jarrod Johnson
97a5bf0806
Correct typo in suse 15 diskless boot
2023-05-19 14:50:04 -04:00
Jarrod Johnson
e476c7b9e6
Avoid deprecationwarning in python 3.10+
...
Newer python is not backwards compatible with
a constant. Attempt to use new
constant and fallback to teh old one
if unavilable.
2023-05-18 09:20:52 -04:00
Jarrod Johnson
2237e0e173
Add a retry mechanism for connecting socket
...
Timing is sensitive during the handshake, catch and retry
if it should fail.
2023-05-10 11:12:29 -04:00
Jarrod Johnson
430b24081c
Have apiclient timeout if IO hangs up
2023-05-09 16:04:24 -04:00
Jarrod Johnson
7b150773df
Extend multi-nic guessing to Ubuntu 20/22
2023-04-20 15:45:32 -04:00
Jarrod Johnson
53f4665358
Correct issues in Ubuntu 18 deployment
2023-04-20 14:48:39 -04:00
Jarrod Johnson
55a796af82
Correct some errors in the Ubuntu 18 support
...
An ommited end clause as well
as some bashisms.
2023-04-12 13:23:39 -04:00
Jarrod Johnson
123d190f12
Extend network and deployment server checking for Ubuntu 18.04
...
When doing network evaluation in ambiguous contexts,
spend some time checking each nic and each candidate target ip address.
This may take longer, but options are limited in a routed context.
2023-04-12 13:04:08 -04:00
Jarrod Johnson
305a3a06d2
Ensure $HOME is set during firstboot
...
systemd tends not to set environment variables. However some firstboot
scripts generally expect $HOME to be correct.
2023-04-12 11:22:27 -04:00
Jarrod Johnson
024677d7de
Try EL7 to build the old addons
2023-04-07 16:50:20 -04:00
Jarrod Johnson
fb31a68818
Add profile.yaml to ubuntu18.04 stock profile
2023-04-07 16:26:32 -04:00
Jarrod Johnson
526a248963
Add ubuntu18.04 to build script in other location
2023-04-07 16:17:37 -04:00
Jarrod Johnson
86d9d6fc2f
Add ubuntu18.04 to build
2023-04-07 15:46:29 -04:00
Jarrod Johnson
2bdc53722b
Further advance ubuntu 18.04 support
2023-04-07 15:45:31 -04:00
Jarrod Johnson
b7ea27b939
Advance draft Ubuntu 18 support
...
Get most things automated for the targeted use case.
Still need to handle partitioning and end of install question, add firstboot and add
staged and complete step.
2023-04-06 16:07:55 -04:00
Jarrod Johnson
1fff15677d
Add el9bin correctly into build process
2023-04-04 11:55:23 -04:00
Jarrod Johnson
556d858d33
Address extraneous errors during build
2023-04-04 11:27:50 -04:00
Jarrod Johnson
0a02b010c9
Fix esxi build for new build strategy
2023-04-04 11:24:10 -04:00
Jarrod Johnson
08e19fbf6e
Provide a sample for fuse3 urlmount
...
When the time comes to transition, this will be useful.
The challenge is that existing images will likely have a 'distribution'
with fuse2 libs, so this isn't a transition to make lightly.
Definitely should be done for new distributions at least, current
distributions pending further investigation
2023-04-04 10:39:12 -04:00
Jarrod Johnson
2d16d5558c
Rework to build everything under el8 or el9 containers specifically
...
Make the build host less critical of an implementation detail
2023-04-04 10:19:13 -04:00