Skip to content

Commit

Permalink
chore: use example.com (#796)
Browse files Browse the repository at this point in the history
Updates the project to use:
-`example.com` as the domain.
- `packer` as the build username.

Signed-off-by: Ryan Johnson <[email protected]>
  • Loading branch information
tenthirtyam committed Dec 14, 2023
1 parent 44fba0d commit e5eb90d
Show file tree
Hide file tree
Showing 24 changed files with 78 additions and 78 deletions.
2 changes: 1 addition & 1 deletion builds/ansible.pkrvars.hcl.example
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@

// Ansible Credentials
ansible_username = "ansible"
ansible_key = "ecdsa-sha2-nistp521 AAAAE2VjZHNhLXNoYTItbmlzdHA1MjEAAAAIbmlzdHA1MjEAAACFBAHqWj5PfbkbGqiyhA2aJIpoWawhpu0AA/hn3xfvPD3cnhImhvp7lY72NfFJZYOcrv/iZQTAnjsprvn4ImvjjoXXNQEgiqmI0z9jZSNfcBEg7dyRATdt4hdsUuFx5ZfSXt2whE9TBNmysIih4y0YuBJWWXu0ImIzs+R27IMwFSbJzL8RVg== ansible@rainpole.io"
ansible_key = "ecdsa-sha2-nistp521 AAAAE2VjZHNhLXNoYTItbmlzdHA1MjEAAAAIbmlzdHA1MjEAAACFBAHqWj5PfbkbGqiyhA2aJIpoWawhpu0AA/hn3xfvPD3cnhImhvp7lY72NfFJZYOcrv/iZQTAnjsprvn4ImvjjoXXNQEgiqmI0z9jZSNfcBEg7dyRATdt4hdsUuFx5ZfSXt2whE9TBNmysIih4y0YuBJWWXu0ImIzs+R27IMwFSbJzL8RVg== ansible@example.com"
4 changes: 2 additions & 2 deletions builds/build.pkrvars.hcl.example
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
*/

// Default Account Credentials
build_username = "rainpole"
build_username = "packer"
build_password = "R@in!$aG00dThing."
build_password_encrypted = "$6$jqoxlQyW2ROxsLK4$P3gGp2Bf0FCSLAZTNaE/LZBqSsvVAYZNPNwTehXZbMAhRJdKOjNqqyUWVUTwql9CnhHUlpiluWzHlR2DpUKD4/"
build_key = "ecdsa-sha2-nistp521 AAAAE2VjZHNhLXNoYTItbmlzdHA1MjEAAAAIbmlzdHA1MjEAAACFBADwXV3rbRCWwhSr6aMkHukV5O7OGAEyUtAerj2anJHm3mwbOxlBU/uO4f0ELqo2GJcTALMC0aFrbvu9qonIH5VF7wBBfCP1cS5B92sUagVV9ldI/uo89e/7dVYC9maPsFaZq2G0/PLU0hZKOohq99Oxc2RMSiJaaenX/hNqx5xYSaK+CA== [email protected]"
build_key = "ecdsa-sha2-nistp521 AAAAE2VjZHNhLXNoYTItbmlzdHA1MjEAAAAIbmlzdHA1MjEAAACFBADwXV3rbRCWwhSr6aMkHukV5O7OGAEyUtAerj2anJHm3mwbOxlBU/uO4f0ELqo2GJcTALMC0aFrbvu9qonIH5VF7wBBfCP1cS5B92sUagVV9ldI/uo89e/7dVYC9maPsFaZq2G0/PLU0hZKOohq99Oxc2RMSiJaaenX/hNqx5xYSaK+CA== [email protected]"
2 changes: 1 addition & 1 deletion builds/proxy.pkrvars.hcl.example
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
*/

// Proxy Credentials
// communicator_proxy_host = "proxy.rainpole.io"
// communicator_proxy_host = "proxy.example.com"
// communicator_proxy_port = 8080
// communicator_proxy_username = "rainpole"
// communicator_proxy_password = "R@in!$aG00dThing."
2 changes: 1 addition & 1 deletion builds/rhsm.pkrvars.hcl.example
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@
*/

// Red Hat Subscription Manager Credentials
rhsm_username = "rainpole"
rhsm_username = "packer"
rhsm_password = "R@in!$aG00dThing."
2 changes: 1 addition & 1 deletion builds/scc.pkrvars.hcl.example
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@
*/

// SUSE Customer Center Credentials
scc_email = "[email protected]"
scc_email = "[email protected]"
scc_code = "R@in!$aG00dThing."
4 changes: 2 additions & 2 deletions builds/vsphere.pkrvars.hcl.example
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
*/

// vSphere Credentials
vsphere_endpoint = "sfo-w01-vc01.rainpole.io"
vsphere_username = "svc-packer-vsphere@rainpole.io"
vsphere_endpoint = "sfo-w01-vc01.example.com"
vsphere_username = "svc-packer-vsphere@example.com"
vsphere_password = "R@in!$aG00dThing."
vsphere_insecure_connection = false

Expand Down
2 changes: 1 addition & 1 deletion docs/getting-started/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -418,7 +418,7 @@ Before the build completes, the machine image is unregistered from Red Hat Subsc
Edit the `config/scc.pkrvars.hcl` file to configure the following credentials for your SUSE Customer Connect account.

```hcl title="config/scc.pkrvars.hcl"
scc_email = "hello@example.com"
scc_email = "suse@example.com"
scc_code = "<plaintext_code>"
```

Expand Down
4 changes: 2 additions & 2 deletions docs/getting-started/privileges.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,11 +58,11 @@ For example:

1. Select **Menu** > **Administration**.

1. Create service account in vSphere SSO if it does not exist: In the left pane, select **Single Sign On** > **Users and Groups** and click on **Users**, from the dropdown select the domain in which you want to create the user (_e.g.,_`rainpole.io`) and click **ADD**, fill all the username (_e.g.,_ `svc-packer-vsphere)` and all required details, then click **ADD** to create the user.
1. Create service account in vSphere SSO if it does not exist: In the left pane, select **Single Sign On** > **Users and Groups** and click on **Users**, from the dropdown select the domain in which you want to create the user (_e.g.,_`example.com`) and click **ADD**, fill all the username (_e.g.,_ `svc-packer-vsphere)` and all required details, then click **ADD** to create the user.

1. In the left pane, select **Access control** > **Global permissions** and click the **Add permissions** icon.

1. In the **Add permissions** dialog box, enter the service account (_e.g.,_ `svc-packer-vsphere@rainpole.io`), select the custom role (_e.g.,_ Packer to vSphere Integration Role) and the **Propagate to children** checkbox, and click **OK**.
1. In the **Add permissions** dialog box, enter the service account (_e.g.,_ `svc-packer-vsphere@example.com`), select the custom role (_e.g.,_ Packer to vSphere Integration Role) and the **Propagate to children** checkbox, and click **OK**.

In an environment with many vCenter Server instances, such as management and workload domains, you may wish to further reduce the scope of access across the infrastructure in vSphere for the service account. For example, if you do not want Packer to have access to your management domain, but only allow access to workload domains:

Expand Down
4 changes: 2 additions & 2 deletions terraform/vsphere-role/terraform.tfvars.example
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@

# Credentials

vsphere_server = "sfo-m01-vc01.rainpole.io"
vsphere_username = "svc-terraform-vsphere@rainpole.io"
vsphere_server = "sfo-m01-vc01.example.com"
vsphere_username = "svc-terraform-vsphere@example.com"
vsphere_password = "************"
vsphere_insecure = false

Expand Down
2 changes: 1 addition & 1 deletion terraform/vsphere-role/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

variable "vsphere_server" {
type = string
description = "The fully qualified domain name or IP address of the vCenter Server instance. (e.g. sfo-m01-vc01.sfo.rainpole.io)"
description = "The fully qualified domain name or IP address of the vCenter Server instance. (e.g. sfo-m01-vc01.sfo.example.com)"
}

variable "vsphere_username" {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@

# Credentials

vsphere_server = "sfo-w01-vc01.rainpole.io"
vsphere_username = "svc-terraform-vsphere@rainpole.io"
vsphere_server = "sfo-w01-vc01.example.com"
vsphere_username = "svc-terraform-vsphere@example.com"
vsphere_password = "************"
vsphere_insecure = false

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@

# Credentials

vsphere_server = "sfo-w01-vc01.rainpole.io"
vsphere_username = "svc-terraform-vsphere@rainpole.io"
vsphere_server = "sfo-w01-vc01.example.com"
vsphere_username = "svc-terraform-vsphere@example.com"
vsphere_password = "************"
vsphere_insecure = false

Expand All @@ -26,4 +26,4 @@ vm_cpus = 2
vm_memory = 4096
vm_disk_size = 60
vm_firmware = "efi"
vm_efi_secure_boot_enabled = true
vm_efi_secure_boot_enabled = true
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@

# Credentials

vsphere_server = "sfo-w01-vc01.rainpole.io"
vsphere_username = "svc-terraform-vsphere@rainpole.io"
vsphere_server = "sfo-w01-vc01.example.com"
vsphere_username = "svc-terraform-vsphere@example.com"
vsphere_password = "************"
vsphere_insecure = false

Expand All @@ -31,9 +31,9 @@ vm_disk_size = 60
vm_firmware = "efi"
vm_efi_secure_boot_enabled = true
vm_hostname = "ubuntu"
vm_domain = "rainpole.io"
vm_domain = "example.com"
vm_ipv4_address = "172.16.100.10"
vm_ipv4_netmask = "24"
vm_ipv4_gateway = "172.16.100.1"
vm_dns_suffix_list = ["rainpole.io"]
vm_dns_suffix_list = ["example.com"]
vm_dns_server_list = ["172.16.11.4", "172.16.11.5"]
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@

# Credentials

vsphere_server = "sfo-w01-vc01.rainpole.io"
vsphere_username = "svc-terraform-vsphere@rainpole.io"
vsphere_server = "sfo-w01-vc01.example.com"
vsphere_username = "svc-terraform-vsphere@example.com"
vsphere_password = "************"
vsphere_insecure = false

Expand All @@ -28,9 +28,9 @@ vm_disk_size = 60
vm_firmware = "efi"
vm_efi_secure_boot_enabled = true
vm_hostname = "ubuntu"
vm_domain = "rainpole.io"
vm_domain = "example.com"
vm_ipv4_address = "172.16.100.10"
vm_ipv4_netmask = "24"
vm_ipv4_gateway = "172.16.100.1"
vm_dns_suffix_list = ["rainpole.io"]
vm_dns_server_list = ["172.16.11.4", "172.16.11.5"]
vm_dns_suffix_list = ["example.com"]
vm_dns_server_list = ["172.16.11.4", "172.16.11.5"]
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@

# Credentials

vsphere_server = "sfo-w01-vc01.rainpole.io"
vsphere_username = "svc-terraform-vsphere@rainpole.io"
vsphere_server = "sfo-w01-vc01.example.com"
vsphere_username = "svc-terraform-vsphere@example.com"
vsphere_password = "************"
vsphere_insecure = false

Expand All @@ -31,13 +31,13 @@ vm_disk_size = 100
vm_firmware = "efi"
vm_efi_secure_boot_enabled = true
vm_hostname = "windows-server"
vm_domain = "rainpole.io"
vm_domain = "example.com"
vm_ipv4_address = "172.16.100.192"
vm_ipv4_netmask = "24"
vm_ipv4_gateway = "172.16.11.1"
vm_dns_suffix_list = ["rainpole.io"]
vm_dns_suffix_list = ["example.com"]
vm_dns_server_list = ["172.16.11.4", "172.16.11.5"]
domain = "rainpole.io"
domain_admin_username = "svc-domain-join@rainpole.io"
domain = "example.com"
domain_admin_username = "svc-domain-join@example.com"
domain_admin_password = "VMware1!"
vm_admin_password = "VMware1!"
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@

# Credentials

vsphere_server = "sfo-w01-vc01.rainpole.io"
vsphere_username = "svc-terraform-vsphere@rainpole.io"
vsphere_server = "sfo-w01-vc01.example.com"
vsphere_username = "svc-terraform-vsphere@example.com"
vsphere_password = "************"
vsphere_insecure = false

Expand All @@ -28,13 +28,13 @@ vm_disk_size = 100
vm_firmware = "efi"
vm_efi_secure_boot_enabled = true
vm_hostname = "windows-server"
vm_domain = "rainpole.io"
vm_domain = "example.com"
vm_ipv4_address = "172.16.100.192"
vm_ipv4_netmask = "24"
vm_ipv4_gateway = "172.16.11.1"
vm_dns_suffix_list = ["rainpole.io"]
vm_dns_suffix_list = ["example.com"]
vm_dns_server_list = ["172.16.11.4", "172.16.11.5"]
domain = "rainpole.io"
domain_admin_username = "svc-domain-join@rainpole.io"
domain = "example.com"
domain_admin_username = "svc-domain-join@example.com"
domain_admin_password = "VMware1!"
vm_admin_password = "VMware1!"
vm_admin_password = "VMware1!"
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@

# Credentials

vsphere_server = "sfo-w01-vc01.rainpole.io"
vsphere_username = "svc-terraform-vsphere@rainpole.io"
vsphere_server = "sfo-w01-vc01.example.com"
vsphere_username = "svc-terraform-vsphere@example.com"
vsphere_password = "************"
vsphere_insecure = false

Expand All @@ -31,9 +31,9 @@ vm_disk_size = 60
vm_firmware = "efi"
vm_efi_secure_boot_enabled = true
vm_hostname = "ubuntu"
vm_domain = "rainpole.io"
vm_domain = "example.com"
vm_ipv4_address = "172.16.100.10"
vm_ipv4_netmask = "24"
vm_ipv4_gateway = "172.16.100.1"
vm_dns_suffix_list = ["rainpole.io"]
vm_dns_suffix_list = ["example.com"]
vm_dns_server_list = ["172.16.11.4", "172.16.11.5"]
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@

# Credentials

vsphere_server = "sfo-w01-vc01.rainpole.io"
vsphere_username = "svc-terraform-vsphere@rainpole.io"
vsphere_server = "sfo-w01-vc01.example.com"
vsphere_username = "svc-terraform-vsphere@example.com"
vsphere_password = "************"
vsphere_insecure = false

Expand All @@ -31,13 +31,13 @@ vm_disk_size = 100
vm_firmware = "efi"
vm_efi_secure_boot_enabled = true
vm_hostname = "windows-server"
vm_domain = "rainpole.io"
vm_domain = "example.com"
vm_ipv4_address = "172.16.100.192"
vm_ipv4_netmask = "24"
vm_ipv4_gateway = "172.16.11.1"
vm_dns_suffix_list = ["rainpole.io"]
vm_dns_suffix_list = ["example.com"]
vm_dns_server_list = ["172.16.11.4", "172.16.11.5"]
domain = "rainpole.io"
domain_admin_username = "svc-domain-join@rainpole.io"
domain = "example.com"
domain_admin_username = "svc-domain-join@example.com"
domain_admin_password = "VMware1!"
vm_admin_password = "VMware1!"
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@

# Credentials

vsphere_server = "sfo-w01-vc01.rainpole.io"
vsphere_username = "svc-terraform-vsphere@rainpole.io"
vsphere_server = "sfo-w01-vc01.example.com"
vsphere_username = "svc-terraform-vsphere@example.com"
vsphere_password = "************"
vsphere_insecure = false

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@

# Credentials

vsphere_server = "sfo-w01-vc01.rainpole.io"
vsphere_username = "svc-terraform-vsphere@rainpole.io"
vsphere_server = "sfo-w01-vc01.example.com"
vsphere_username = "svc-terraform-vsphere@example.com"
vsphere_password = "************"
vsphere_insecure = false

Expand All @@ -24,4 +24,4 @@ vm_name = "ubuntu-cloud-init"
vm_cpus = 2
vm_memory = 4096
vm_firmware = "efi"
vm_efi_secure_boot_enabled = true
vm_efi_secure_boot_enabled = true
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@

# Credentials

vsphere_server = "sfo-w01-vc01.rainpole.io"
vsphere_username = "svc-terraform-vsphere@rainpole.io"
vsphere_server = "sfo-w01-vc01.example.com"
vsphere_username = "svc-terraform-vsphere@example.com"
vsphere_password = "************"
vsphere_insecure = false

Expand All @@ -31,9 +31,9 @@ vm_disk_size = 60
vm_firmware = "efi"
vm_efi_secure_boot_enabled = true
vm_hostname = "ubuntu"
vm_domain = "rainpole.io"
vm_domain = "example.com"
vm_ipv4_address = "172.16.100.10"
vm_ipv4_netmask = "24"
vm_ipv4_gateway = "172.16.100.1"
vm_dns_suffix_list = ["rainpole.io"]
vm_dns_suffix_list = ["example.com"]
vm_dns_server_list = ["172.16.11.4", "172.16.11.5"]
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@

# Credentials

vsphere_server = "sfo-w01-vc01.rainpole.io"
vsphere_username = "svc-terraform-vsphere@rainpole.io"
vsphere_server = "sfo-w01-vc01.example.com"
vsphere_username = "svc-terraform-vsphere@example.com"
vsphere_password = "************"
vsphere_insecure = false

Expand All @@ -26,9 +26,9 @@ vm_memory = 4096
vm_firmware = "efi"
vm_efi_secure_boot_enabled = true
vm_hostname = "ubuntu"
vm_domain = "rainpole.io"
vm_domain = "example.com"
vm_ipv4_address = "172.16.100.10"
vm_ipv4_netmask = "24"
vm_ipv4_gateway = "172.16.100.1"
vm_dns_suffix_list = ["rainpole.io"]
vm_dns_server_list = ["172.16.11.4", "172.16.11.5"]
vm_dns_suffix_list = ["example.com"]
vm_dns_server_list = ["172.16.11.4", "172.16.11.5"]
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@

# Credentials

vsphere_server = "sfo-w01-vc01.rainpole.io"
vsphere_username = "svc-terraform-vsphere@rainpole.io"
vsphere_server = "sfo-w01-vc01.example.com"
vsphere_username = "svc-terraform-vsphere@example.com"
vsphere_password = "************"
vsphere_insecure = false

Expand All @@ -30,13 +30,13 @@ vm_memory = 4096
vm_firmware = "efi"
vm_efi_secure_boot_enabled = true
vm_hostname = "windows-server"
vm_domain = "rainpole.io"
vm_domain = "example.com"
vm_ipv4_address = "172.16.100.10"
vm_ipv4_netmask = "24"
vm_ipv4_gateway = "172.16.100.1"
vm_dns_suffix_list = ["rainpole.io"]
vm_dns_suffix_list = ["example.com"]
vm_dns_server_list = ["172.16.11.4", "172.16.11.5"]
domain = "rainpole.io"
domain_admin_username = "svc-domain-join@rainpole.io"
domain = "example.com"
domain_admin_username = "svc-domain-join@example.com"
domain_admin_password = "VMware1!"
vm_admin_password = "VMware1!"
Loading

0 comments on commit e5eb90d

Please sign in to comment.