Page MenuHomeGRNET

No OneTemporary

File Metadata

Created
Mon, Nov 25, 7:26 PM
diff --git a/files/resolv.conf b/files/resolv.conf
new file mode 100644
index 0000000..182ee96
--- /dev/null
+++ b/files/resolv.conf
@@ -0,0 +1 @@
+nameserver 83.212.2.77
diff --git a/jessie.json b/jessie.json
index 1208023..343c411 100644
--- a/jessie.json
+++ b/jessie.json
@@ -1,53 +1,58 @@
{
"description": "Vanilla Debian Jessie base box",
"variables": {
"box_version": "8.8.0",
"box_changelog": "* stable point release\n"
},
"builders": [
{
"boot_command": [
"<esc><wait>",
"install <wait>",
"preseed/url=http://{{ .HTTPIP }}:{{ .HTTPPort }}/debian-8-jessie-preseed.cfg <wait>",
"debian-installer=en_US <wait>",
"auto <wait>",
"locale=en_US <wait>",
"kbd-chooser/method=us <wait>",
"netcfg/get_hostname={{ .Name }} <wait>",
"netcfg/get_domain=grnet.gr <wait>",
"fb=false <wait>",
"debconf/frontend=noninteractive <wait>",
"console-setup/ask_detect=false <wait>",
"console-keymaps-at/keymap=us <wait>",
"keyboard-configuration/xkb-keymap=us <wait>",
"<enter><wait>"
],
"disk_size": "1050",
"disk_interface": "virtio",
"headless": true,
"http_directory": "http",
"iso_checksum": "2c07ff8cc766767610566297b8729740f923735e790c8e78b718fb93923b448e",
"iso_checksum_type": "sha256",
"iso_url": "http://cdimage.debian.org/debian-cd/current/amd64/iso-cd/debian-8.8.0-amd64-netinst.iso",
"shutdown_command": "/sbin/halt -p",
"ssh_password": "root",
"ssh_username": "root",
"ssh_port": "22",
"ssh_wait_timeout": "100000s",
"type": "qemu",
"qemuargs": [[ "-m", "2048" ],[ "-smp", "2" ]],
"accelerator": "kvm",
- "vm_name": "debian-jessie-{{user `box_version`}}.img",
+ "vm_name": "debian-jessie-{{user `box_version`}}-x86_64.img",
"output_directory": "jessie.build",
"format": "raw"
}
],
"provisioners": [
{
"type": "shell",
"pause_before": "5s",
"inline": ["sed -i 's/PermitRootLogin.*/PermitRootLogin without-password/g' /etc/ssh/sshd_config"]
+ },
+ {
+ "type": "file",
+ "source": "files/resolv.conf",
+ "destination": "/etc/resolv.conf"
}
]
}

Event Timeline