aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/README.md12
-rw-r--r--docs/sample-environment.yml5
2 files changed, 10 insertions, 7 deletions
diff --git a/docs/README.md b/docs/README.md
index de60ff9..05c3569 100644
--- a/docs/README.md
+++ b/docs/README.md
@@ -23,7 +23,7 @@ Below is a table describing each variable, and which Ansible role the variable i
| ```packages``` | | | X | | | **List** of packages to be installed on the new VM |
| ```user``` | | | X | | | User to be created on the new VM |
| ```root_password``` | | X | X | Kickstart - Random | | Sets root password in Kickstart (uses random if not specified), can be used to communicate with new VM if no SSH key is defined |
-| ```ssh_key``` | | X | | | | This key is put into the Kickstart template for the root user and the regular user (if defined) - if not defined, PermitRootLogin is used in Kickstart |
+| ```ssh_keys``` | | X | | | | List of keys to be put into the Kickstart template for the root user and the regular user (if defined) - if not defined, PermitRootLogin is used in Kickstart |
| ```shell``` | | | X | | | Set new user's shell to this shell, does not change the root user shell - does nothing if no regular user defined |
| ```services``` | | | X | | | Services to enable on the new VM
| ```redhat_user``` | | | X | | | Username to register/unregister new VM with Red Hat Subscription Manager |
@@ -89,8 +89,9 @@ all:
parent_dataset: "zfs-parent-dataset/zfs-child-dataset"
user: "myuser"
shell: "/usr/bin/fish"
- ssh_key: |
- ssh-rsa <key here>
+ ssh_keys:
+ - ssh-rsa <key1>
+ - ssh-rsa <key2>
pre-packages:
- epel-release
packages:
@@ -121,8 +122,9 @@ all:
parent_dataset_mount: "/mnt/zfs-parent-dataset/zfs-child-dataset"
user: "myuser"
shell: "/usr/bin/fish"
- ssh_key: |
- ssh-rsa <key here>
+ ssh_keys:
+ - ssh-rsa <key1>
+ - ssh-rsa <key2>
packages:
- fish
redhat_user: "myrhsmuser"
diff --git a/docs/sample-environment.yml b/docs/sample-environment.yml
index aaba54c..1c676ea 100644
--- a/docs/sample-environment.yml
+++ b/docs/sample-environment.yml
@@ -39,8 +39,9 @@ all:
# root_password: "" #Not defining this will cause a random root password to be generated for kickstart purposes
user: "admin" #Regular user with sudo rights
# SSH key for root and regular user - if no key or root password are defined, guest configuration will not run
- ssh_key: |
- ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDFyY+3A07lMnHkyQ6bMez/BEi9j2vh4sotxQdqEMlCS+EJCta8G/CCj54kBvFKrrkiPMs0Jj1Od02ZjWZqGf+W/stZ+KLh97M0EM/69zbRbQJZ7xuCQKng7U87bbopbXcx9Mu9DUCC1pjNJ5Bb7nG6z51hk7mh3mF8QGHJ6qp03FrK+Eiud/2d9Zbn4lNH/E5W7iZ3J7zZHU16nLQH1Tsbx2LFUDkVhz/A4/7sqRmWT/mpwSCVgxN9cFgs1KMHsqb4Z1XXtbb//SWj+bmPvcfbfDUkTnb8Z+KTOd1OViKjDH1owgymxZtDML5S7OOZ2AX0/c5JaDplLRhji7gpVTRLZJE5XHvfVqwJCkxVrxoc4sbcZb9I/G+clJ3CBzSMZXh7p85J4OLVP5GmfOh0o93pakWVsTZBrPgO3EjhOyj0pGay3qUHiQfPqIlU+q92Mku5iijsbFDv28HdUlz5e69igg7E8Hr2/SruZuDijxOqkkHkmW0pnM8kXQpvU5dvW0U= pubkey@box
+ ssh_keys:
+ - "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPqatKwhiSSePeDXU2VuoKzugIKWobA8U7QxsOxhQHJH"
+ - "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIP4AUk20x8I3Yxy8lDDCJNtGLdPl2yhHGJAluJ1hALtw"
packages: # Packages to install on guest
- qemu-guest-agent
services: # Services to enable on guest