Skip to content

Commit dae8c2d

Browse files
jaankitmichellew-vmware
authored andcommitted
poi: Adding lvm sample ks for fips
Change-Id: I3bfaf49dd58685a27937eb20a0f8a94e1eb97843
1 parent cc4ecce commit dae8c2d

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

sample_ks/sample_ks_lvm_fips.cfg

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
{
2+
"hostname": "photon-machine",
3+
"password":
4+
{
5+
"crypted": false,
6+
"text": "changeme"
7+
},
8+
"disk": "/dev/sda",
9+
"partitions": [
10+
{"mountpoint": "/", "size": 0, "filesystem": "ext4","lvm":{"vg_name":"vg1", "lv_name":"rootfs"}},
11+
{"mountpoint": "/boot", "size": 128, "filesystem": "ext4"},
12+
{"mountpoint": "/root", "size": 128, "filesystem": "ext4","lvm":{"vg_name":"vg1", "lv_name":"root"}}
13+
],
14+
"packagelist_file": "packages_minimal.json",
15+
"additional_packages": ["vim"],
16+
"postinstall": [
17+
"#!/bin/sh",
18+
"(sed -i 's/systemd_cmdline/systemd_cmdline fips=1/' /boot/grub2/grub.cfg) > /etc/postinstall"
19+
],
20+
"public_key": "<ssh-key-here>",
21+
"linux_flavor": "linux",
22+
"network": {
23+
"type": "dhcp"
24+
}
25+
}

0 commit comments

Comments
 (0)