Skip to content

Commit

Permalink
add minimal image
Browse files Browse the repository at this point in the history
  • Loading branch information
MalloZup committed Oct 17, 2018
1 parent 11dd459 commit ab0d3c4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion modules/libvirt/base/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,8 @@ resource "libvirt_volume" "sles-es7_volume" {
# We fetch the latest ubuntu release image from their mirrors
resource "libvirt_volume" "ubuntu-1804_volume" {
name = "${var.name_prefix}ubuntu-1804"
source = "https://cloud-images.ubuntu.com/releases/18.04/release/ubuntu-18.04-server-cloudimg-amd64.img"
// source = "https://cloud-images.ubuntu.com/releases/18.04/release/ubuntu-18.04-server-cloudimg-amd64.img"
source = "http://cloud-images.ubuntu.com/minimal/releases/bionic/release/ubuntu-18.04-minimal-cloudimg-amd64.img"
count = "${var.use_shared_resources ? 0 : (contains(var.images, "ubuntu-1804") ? 1 : 0)}"
pool = "${var.pool}"
}
Expand Down

0 comments on commit ab0d3c4

Please sign in to comment.