Skip to content

Commit

Permalink
Merge pull request #142 from eparis/console-on-libvirt-domains
Browse files Browse the repository at this point in the history
Create a pty by default
  • Loading branch information
openshift-merge-robot authored Aug 24, 2018
2 parents 2f3cde6 + c64eaff commit 6fb1b5f
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 0 deletions.
5 changes: 5 additions & 0 deletions steps/etcd/libvirt/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,11 @@ resource "libvirt_domain" "etcd" {
volume_id = "${element(libvirt_volume.etcd.*.id, count.index)}"
}

console {
type = "pty"
target_port = 0
}

network_interface {
network_id = "${local.libvirt_network_id}"
hostname = "${var.tectonic_cluster_name}-etcd-${count.index}"
Expand Down
5 changes: 5 additions & 0 deletions steps/joining_workers/libvirt/workers.tf
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,11 @@ resource "libvirt_domain" "worker" {
volume_id = "${element(libvirt_volume.worker.*.id, count.index)}"
}

console {
type = "pty"
target_port = 0
}

network_interface {
network_id = "${local.libvirt_network_id}"
hostname = "${var.tectonic_cluster_name}-worker-${count.index}"
Expand Down
5 changes: 5 additions & 0 deletions steps/masters/libvirt/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,11 @@ resource "libvirt_domain" "master" {
volume_id = "${element(libvirt_volume.master.*.id, count.index)}"
}

console {
type = "pty"
target_port = 0
}

network_interface {
network_id = "${local.libvirt_network_id}"
hostname = "${var.tectonic_cluster_name}-master-${count.index}"
Expand Down

0 comments on commit 6fb1b5f

Please sign in to comment.