Skip to content

Commit

Permalink
update to LB shape new name and docker-ce package
Browse files Browse the repository at this point in the history
  • Loading branch information
Marcelo Ochoa committed Jan 6, 2021
1 parent fcf8757 commit 82ac106
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion terraform/datasources.tf
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ data "template_file" "cloud_init" {
catalogue_port = local.catalogue_port
mock_mode = var.services_in_mock_mode
deploy_id = random_string.deploy_id.result
region_id = "${var.region}"
region_id = var.region
s3_secret = oci_identity_customer_secret_key.oci_user.key
s3_key_id = oci_identity_customer_secret_key.oci_user.id
object_namespace = oci_objectstorage_bucket.registry.namespace
Expand Down
4 changes: 3 additions & 1 deletion terraform/scripts/setup.template.sh
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,9 @@ mkfs.xfs -f -i size=512 -L glusterfs /home/fs.img
mkdir -p /data/glusterfs/myvolume/mybrick
echo '/home/fs.img /data/glusterfs/myvolume/mybrick xfs defaults 0 0' >> /etc/fstab
mount -a && df
yum install -y glusterfs-server docker-engine
yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo
sed -i "s/\$releasever/7/g" /etc/yum.repos.d/docker-ce.repo
yum install -y glusterfs-server docker-ce docker-ce-cli containerd.io
systemctl enable --now glusterd
systemctl enable --now docker

Expand Down
2 changes: 1 addition & 1 deletion terraform/terraform.tfvars.example
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public_ssh_key = ""
is_pv_encryption_in_transit_enabled = false

# Network Details
lb_shape = "10Mbps-Micro"
lb_shape = "10Mbps"
lb_compartment_ocid = "" # e.g.: "ocid1.compartment..."
create_secondary_vcn = false

Expand Down
2 changes: 1 addition & 1 deletion terraform/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ variable "is_pv_encryption_in_transit_enabled" {

# Network Details
variable "lb_shape" {
default = "10Mbps-Micro"
default = "10Mbps"
}
variable "lb_compartment_ocid" {
default = ""
Expand Down

0 comments on commit 82ac106

Please sign in to comment.