-
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.
* add vsphere init * reuse existing scritps * add persistent admin user * add vm template post processor * selinux fixes, rhel8/9 flexibility, config updates * add FIPS and skip chown of non-existent dirs on agent nodes * remove misleading variables from example vars * remove unused vars * add ubuntu * add vars examples, clean up cloudinit * update expample vars, handle ubuntu version for stigs, add root login allowed for provisioning, update ssh timeout, cloud-init boot fix * remove old example file, remove http_ks * add clean cloud init to vsphere * Whitespace and tweaking default variables. * add retires for install-rke2 * add retries to aws to resolve race condition * diable package updates and upgrades as part of cloudinit --------- Co-authored-by: Justin Oursler <[email protected]>
- Loading branch information
1 parent
d1f109e
commit 2fecc1c
Showing
10 changed files
with
132 additions
and
36 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
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 was deleted.
Oops, something went wrong.
File renamed without changes.
Empty file.
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,52 @@ | ||
#cloud-config | ||
autoinstall: | ||
version: 1 | ||
locale: en_US | ||
keyboard: | ||
layout: us | ||
variant: '' | ||
storage: | ||
layout: | ||
name: lvm | ||
match: | ||
path: /dev/sda | ||
ssh: | ||
install-server: yes | ||
package_update: false | ||
package_upgrade: false | ||
packages: | ||
- htop | ||
- tmux | ||
- whois | ||
- dnsutils | ||
- jq | ||
- open-vm-tools | ||
- unzip | ||
- libopenscap8 | ||
- zfsutils-linux | ||
- apt-offline | ||
- iptables | ||
- open-iscsi | ||
- nfs-common | ||
- vlock | ||
- chrony | ||
user-data: | ||
users: | ||
- name: root | ||
lock_passwd: false | ||
hashed_passwd: "${root_password}" | ||
ssh_redirect_user: false | ||
|
||
- name: ${persistent_admin_username} | ||
groups: sudo | ||
shell: /bin/bash | ||
lock_passwd: false | ||
sudo: ALL=(ALL) NOPASSWD:ALL | ||
hashed_passwd: "${persistent_admin_password}" | ||
ssh_redirect_user: false | ||
ssh_pwauth: True | ||
disable_root: false | ||
preserve_hostname: true | ||
runcmd: | ||
- sed -i -e '/^[#]*PermitRootLogin/s/^.*$/PermitRootLogin yes/' /etc/ssh/sshd_config | ||
- systemctl restart ssh |
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,4 @@ | ||
linux_distro = "rhel" | ||
uds_iso_filepath = "rhel-9.4-x86_64-dvd/rhel-9.4-x86_64-dvd.iso" | ||
rhsm_username = "hellorhsm" | ||
rhsm_password = "mypassword" |
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,6 @@ | ||
linux_distro = "ubuntu" | ||
uds_iso_filepath = "ubuntu-22.04.4-live-server-amd64/ubuntu-22.04.4-live-server-amd64.iso" | ||
uds_os_type = "ubuntu64Guest" | ||
ubuntu_pro_token = "cooltoken" | ||
# Ubuntu requires a longer timeout due to cloudinit steps executed during boot process | ||
ssh_timeout = "10m" |
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