forked from os-autoinst/os-autoinst-distri-opensuse
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request os-autoinst#20074 from mloviska/ignition_update_vm…
…ware_aarch64 Adapt ignition configs for vmware and aarch64
- Loading branch information
Showing
4 changed files
with
84 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
### Config usage | ||
|
||
1. *script* is intended for combustion use cases, the script should work on all VM platforms | ||
- current usage: | ||
* QEMU all archs, however untested in PPC64 | ||
* VMWare | ||
|
||
2. config.fcc | ||
- ignition config for all QEMU VMs | ||
|
||
3. vmware.fcc | ||
- ignition config for VMWare, the only difference between butane configs is the 3rd drive path by id | ||
|
||
4. config_vmware.ign | ||
- JSON version of vmware.fcc as VMWare loads encoded version of this config instead of booting with a config drive as we do it for QEMU |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
variant: fcos | ||
version: 1.1.0 | ||
passwd: | ||
users: | ||
- name: root | ||
password_hash: $6$eEm2HpuzI7dfE4i7$dbYiTRLhrqVvwryR7zmMEcnrp13IqZ3mzLbsx9EeHAX7849PibGVgX5vdPuaeYYIO7hVfcboI9/JDpGiDZhHf/ | ||
- name: bernhard | ||
password_hash: $6$eEm2HpuzI7dfE4i7$dbYiTRLhrqVvwryR7zmMEcnrp13IqZ3mzLbsx9EeHAX7849PibGVgX5vdPuaeYYIO7hVfcboI9/JDpGiDZhHf/ | ||
uid: 1001 | ||
gecos: Bernhard M. Wiedemann | ||
- name: HomelessTester | ||
uid: 2002 | ||
no_create_home: true | ||
primary_group: geekos | ||
groups: | ||
- users | ||
- geekos | ||
groups: | ||
- name: geekos | ||
gid: 2002 | ||
systemd: | ||
units: | ||
- name: sshd.service | ||
enabled: true | ||
mask: false | ||
- name: create_test_file.service | ||
enabled: true | ||
contents: | | ||
[Unit] | ||
Description=Just a Test! | ||
[Service] | ||
Type=oneshot | ||
RemainAfterExit=no | ||
ExecStart=/usr/bin/touch /var/log/flagfile | ||
[Install] | ||
WantedBy=multi-user.target | ||
storage: | ||
disks: | ||
- device: /dev/disk/by-id/ata-VMware_Virtual_IDE_Hard_Drive_01000000000000000001 | ||
wipe_table: true | ||
partitions: | ||
- number: 1 | ||
label: testing_part | ||
filesystems: | ||
- path: /home | ||
device: /dev/disk/by-partlabel/testing_part | ||
format: ext4 | ||
wipe_filesystem: true | ||
with_mount_unit: true | ||
label: home | ||
files: | ||
- path: /etc/hostname | ||
overwrite: true | ||
contents: | ||
inline: cucaracha | ||
- path: /home/bernhard/testdir/hello | ||
overwrite: true | ||
mode: 0600 | ||
user: | ||
name: bernhard | ||
contents: | ||
inline: Hello there! | ||
directories: | ||
- path: /home/bernhard/testdir | ||
mode: 0755 | ||
user: | ||
name: bernhard |