I am attempting to create a CentOS 6.5 Packer image using VMWare and am getting the "Unable to download kickstart file" error. Here is where it is getting stuck:
If I attempt to go to this path from the actual host I am getting a 404 error:
I went through to make sure that the file was actually there on my host and it was:
{
"variables" : {
"mirror" : "http://mirrors.kernel.org/centos"
},
"builders" : [
{
"boot_command" : [
"<tab> text ks=http://{{ .HTTPIP }}:{{ .HTTPPort }}/centos-6.5/ks.cfg<enter><wait>"
],
"boot_wait" : "10s",
"disk_size" : 40960,
"guest_os_type" : "centos-64",
"http_directory" : "http",
"iso_checksum" : "3a9662cb65f9d59677d76acfdb73289da43b4599",
"iso_checksum_type" : "sha1",
"iso_url" : "http://mirrors.kernel.org/centos/6.5/isos/x86_64/CentOS-6.5-x86_64-netinstall.iso",
"output_directory" : "c2c-raw-centos-6.5-x64-vmware",
"shutdown_command" : "echo 'vagrant'|sudo -S /sbin/halt -h -p",
"ssh_password" : "vagrant",
"ssh_port" : 22,
"ssh_username" : "vagrant",
"ssh_wait_timeout" : "10000s",
"tools_upload_flavor" : "linux",
"type" : "vmware-iso",
"vm_name" : "c2c-raw-centos-6.5-x64",
"vmx_data" : {
"cpuid.coresPerSocket" : "1",
"memsize" : "768",
"numvcpus" : "2"
}
}
],
"post-processors" : [
{
"output" : "../../builds/{{.Provider}}/raw/centos-6.5-x64.box",
"type" : "vagrant",
"keep_input_artifact" : true
}
],
"provisioners" : [
{
"execute_command" : "echo 'vagrant' | {{.Vars}} sudo -S -E bash '{{.Path}}'",
"scripts" : [
"./centos-6.5/scripts/centos/fix-slow-dns.sh", "./common/scripts/sshd.sh",
"./common/scripts/vagrant.sh", "./common/scripts/vmtools.sh",
"./centos-6.5/scripts/centos/cleanup.sh", "./common/scripts/minimize.sh"
],
"type" : "shell"
}
]
}
"<tab> text ks=http://{{ .HTTPIP }}:{{ .HTTPPort }}/centos-6.5/ks.cfg<enter><wait>"
"http_directory" : "http",
to:
"<tab> text ks=http://{{ .HTTPIP }}:{{ .HTTPPort }}/ks.cfg<enter><wait>"
"http_directory" : "http/centos-6.5",
--
You received this message because you are subscribed to the Google Groups "Packer" group.
To unsubscribe from this group and stop receiving emails from it, send an email to packer-tool...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and stop receiving emails from it, send an email to packer-tool+unsubscribe@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to packer-tool+unsubscribe@googlegroups.com.