adamant-kite-43734
06/21/2024, 11:38 AMsticky-tailor-45974
06/21/2024, 1:11 PMacoustic-country-10006
06/21/2024, 1:14 PMsticky-tailor-45974
06/21/2024, 1:57 PMSeedImage resource cloud-config. You can't form the MachineRegistration resource as the cloud-config there is actually applied on first boot after the installation and at that time the partitions are already done. You need to influence the installation itself. For that you could create a seed image similar to the following:
apiVersion: <http://elemental.cattle.io/v1beta1|elemental.cattle.io/v1beta1>
kind: SeedImage
metadata:
name: custom-partitions-iso
namespace: fleet-default
spec:
cloud-config:
write_files:
- path: /etc/elemental/config.d/partitions.yaml
content: |
install:
partitions:
recovery:
size: 8192
state:
size: 16384
baseImage: <http://registry.suse.com/suse/sle-micro-iso/5.5:2.0.4|registry.suse.com/suse/sle-micro-iso/5.5:2.0.4>
registrationRef:
name: <machine-registration-name-goes-here>
namespace: fleet-default
Partition sizes are always in MB