-
Notifications
You must be signed in to change notification settings - Fork 113
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added ansible_env_vars to speed up the provisioning and eliminate login errors in packer log Added DEBIAN_FRONTEND="noninteractive" to have cleaner packer logs
- Loading branch information
Showing
6 changed files
with
15 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,12 @@ | ||
|
||
Vagrant.configure("2") do |config| | ||
config.vm.provider :libvirt do |libvirt| | ||
libvirt.disk_bus = "virtio" | ||
libvirt.nic_model_type = "virtio" | ||
libvirt.video_type = "qxl" | ||
libvirt.graphics_type = "spice" | ||
end | ||
|
||
config.vm.provider "libvirt" | ||
#Disable NFS sharing (==> default: Mounting NFS shared folders...) | ||
config.vm.synced_folder ".", "/vagrant", type: "nfs", disabled: true | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
#!/bin/bash -eux | ||
|
||
export DEBIAN_FRONTEND="noninteractive" | ||
|
||
# Update the box | ||
apt update | ||
apt -y upgrade | ||
apt-get update | ||
apt-get -y upgrade |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters