Skip to content

Commit

Permalink
Minor fixes (#38)
Browse files Browse the repository at this point in the history
* Fix some typos

* 'additional_repos' is not mandatory, so add a default value
  • Loading branch information
ldevulder authored and alvarocarvajald committed Feb 12, 2019
1 parent fa33ecb commit cef46a5
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
8 changes: 4 additions & 4 deletions libvirt/terraform/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,17 +67,17 @@ additional_repos = {
"repo_1" = "url_repo1"
"repo_1" = "url_repo1"
}
"cluster_ssh_pub = salt://hana_node/files/sshkeys/my_key.id_rsa.pub"
"cluster_ssh_key = salt://hana_node/files/sshkeys/my_key.id_rsa"
cluster_ssh_pub = "salt://hana_node/files/sshkeys/my_key.id_rsa.pub"
cluster_ssh_key = "salt://hana_node/files/sshkeys/my_key.id_rsa"

# Optional SUSE Customer Center Registration parameters
reg_code = "<<REG_CODE>>"
reg_email = "<<your email>>"
reg_additional_modules = {
"sle-module-adv-systems-management/12/x86_64" = ""
"sle-module-containers/12/x86_64" = ""
"sle-module-containers/12/x86_64" = ""
"sle-ha-geo/12.4/x86_64" = "<<REG_CODE>>"
}
}
```

After changing the values, run the terraform commands:
Expand Down
2 changes: 1 addition & 1 deletion libvirt/terraform/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ module "hana_node" {
host_ips = "${var.host_ips}"
sbd_disk_id = "${module.sbd_disk.id}"
// Set proper ssh file. The default files are public in github
// Copy custom files in salt/hana_node/file/sshkeys
// Copy custom files in salt/hana_node/files/sshkeys
cluster_ssh_pub = "${var.cluster_ssh_pub}"
cluster_ssh_key = "${var.cluster_ssh_key}"
reg_code = "${var.reg_code}"
Expand Down
1 change: 1 addition & 0 deletions libvirt/terraform/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -70,4 +70,5 @@ variable "reg_additional_modules" {
variable "additional_repos" {
description = "Map of the repositories to add to the images. Repo name = url"
type = "map"
default = {}
}

0 comments on commit cef46a5

Please sign in to comment.