From 490ff260c2217608ce0a4daf3e74553dba99b08e Mon Sep 17 00:00:00 2001 From: Cheng Sun <_@chengsun.uk> Date: Wed, 10 Dec 2014 10:14:18 +0000 Subject: [PATCH] Update README to link to centos example directly --- README.md | 25 +------------------------ 1 file changed, 1 insertion(+), 24 deletions(-) diff --git a/README.md b/README.md index 498227f..7554112 100644 --- a/README.md +++ b/README.md @@ -68,31 +68,8 @@ in your $PACKERPATH directory and you are ready to get going with packer. Once you've setup the above, you are good to go with an example. -To get you started, there is an example config file which you can use `examples/centos-6.4.conf`: +To get you started, there is an example config file which you can use: [`examples/centos-6.4.conf`](https://github.com/rdobson/packer-builder-xenserver/blob/master/examples/centos-6.4.conf) -```shell -{ - "builders": [{ - "type": "xenserver", - "username": "root", - "password": "hostpassword", - "host_ip": "10.81.2.105", - "instance_name": "packer-centos-6-4", - "instance_memory": "2048000000", - "root_disk_size": "40000000000", - "iso_name": "CentOS-6.4-x86_64-minimal.iso", - "http_directory": "http", - "local_ip": "10.80.3.223", - "ssh_username": "root", - "ssh_password": "vmpassword", - "boot_command": - [ - "", - " ks=http://{{ .HTTPIP }}:{{ .HTTPPort }}/centos6-ks.cfg" - ] - }] -} -``` Currently it is not (easily) possible to take care of the ISO download and upload, so you will need to attach an ISO SR to the XenServer host (NFS/CIFS) with the ISO you want to use for installation. You will then need to specify the name