Skip to content
This repository has been archived by the owner on Aug 11, 2020. It is now read-only.

Commit

Permalink
Fixing boot device order after boot
Browse files Browse the repository at this point in the history
  • Loading branch information
tsorya committed Apr 6, 2020
1 parent f5ee301 commit 9b387c0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions terraform_files/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ resource "libvirt_domain" "master" {

disk {
file = var.image_path
}
}

console {
type = "pty"
Expand All @@ -85,7 +85,7 @@ resource "libvirt_domain" "master" {
}

boot_device{
dev = [ "cdrom"]
dev = ["hd", "cdrom"]
}
}

Expand Down Expand Up @@ -122,7 +122,7 @@ resource "libvirt_domain" "worker" {
}

boot_device{
dev = [ "cdrom"]
dev = ["hd", "cdrom"]
}
}

Expand Down

0 comments on commit 9b387c0

Please sign in to comment.