can someone check my template and give me a hint on what is the issue?
Appreciate it
On Thursday, September 27, 2018 at 4:50:48 PM UTC+5:30, praveen bhat wrote:
>
> trying to build Ubuntu 18.04
> console output shows kernel panic error.
> need help..
>
> Json:
>
>
> {
> "builders": [
> {
> "boot_command": [
>
> "<enter><wait><f6><esc><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs>",
> "/install/vmlinuz <wait>",
> "auto <wait>",
> "console-setup/ask_detect=false <wait>",
> "console-setup/layoutcode=us <wait>",
> "console-setup/modelcode=pc105 <wait>",
> "debconf/frontend=noninteractive <wait>",
> "debian-installer=en_US <wait>",
> "fb=false <wait>",
> "initrd=/install/initrd.gz <wait>",
> "kbd-chooser/method=us <wait>",
> "keyboard-configuration/layout=USA <wait>",
> "keyboard-configuration/variant=USA <wait>",
> "locale=en_US <wait>",
> "netcfg/get_domain=vm <wait>",
> "netcfg/get_hostname=packer <wait>",
> "grub-installer/bootdev=/dev/sda <wait>",
> "noapic <wait>",
> "preseed/url=http://{{ .HTTPIP }}:{{ .HTTPPort }}/ubuntu18.cfg
> <wait>",
> "-- <wait>",
> "<enter><wait>"
> ],
> "disk_adapter_type": "scsi",
> "disk_size": "51200",
> "disk_type_id": "thin",
> "guest_os_type": "ubuntu-64",
> "http_directory": "http",
> "iso_checksum_type": "sha256",
> "iso_checksum":
> "a5b0ea5918f850124f3d72ef4b85bda82f0fcd02ec721be19c1a6952791c8ee8",
> "iso_url": "
> http://cdimage.ubuntu.com/ubuntu/releases/18.04.1/release/ubuntu-18.04.1-server-amd64.iso
> ",
> "name": "Linux_UBUNTU18_04_1_x86-64_ICP_MD3BZ",
> "output_directory": "output-vmware-iso",
> "remote_type": "esx5",
> "remote_host": "{{user `esxi_host`}}",
> "remote_datastore": "{{user `esxi_datastore`}}",
> "remote_username": "{{user `esxi_username`}}",
> "remote_password": "{{user `esxi_password`}}",
> "shutdown_command": "echo '/sbin/halt -h -p' > shutdown.sh; echo
> 'dstadmin'|sudo -S bash 'shutdown.sh'",
> "ssh_password": "Welcome1@",
> "ssh_username": "dstadmin",
> "ssh_wait_timeout": "60m",
> "type": "vmware-iso",
> "vm_name": "Linux_UBUNTU18_04_1_x86-64_ICP_MD3BZ",
> "vnc_disable_password": true,
> "vmx_data": {
> "numvcpus": 2,
> "cpuid.coresPerSocket": 1,
> "memsize": 2048,
> "ethernet0.networkName": "Private VMnetwork",
> "ethernet0.present": "TRUE",
> "ethernet0.startConnected": "TRUE",
> "ethernet0.virtualDev": "e1000",
> "ethernet0.addressType": "generated",
> "ethernet0.wakeOnPcktRcv": "FALSE"
> }
> }
> ],
> "provisioners": [
> {
> "type": "shell",
> "expect_disconnect": false,
> "inline":[ "cd /tmp/",
> "wget -O /tmp/DoOnceLinux.tar.gz
> http://inmbzp7148.in.dst.ibm.com:8081/repository/installables/DoOnceLinux.tar.gz
> ",
> "tar -zvxf DoOnceLinux.tar.gz",
> "/tmp/DoOnceLinux/securityTool/Install/startSecurityTool.bash -f
> /tmp/DoOnceLinux/securityTool/samples/main-ITCS104.config",
> "wget -O /tmp/vmware_tools.sh
> http://inmbzp7148.in.dst.ibm.com:8081/repository/installables/vmware_tools.sh
> ",
> "chmod +x vmware_tools.sh",
> "./vmware_tools.sh"
> ]
> }
> ],
> "post-processors": [
> {
> "datacenter": "INMD3BZICPDC",
> "host": "9.109.190.35",
> "password": "Work42ls",
> "type": "vsphere-template",
> "username": "root"
> }
> ]
> }
>
>
--
This mailing list is governed under the HashiCorp Community Guidelines -
https://www.hashicorp.com/community-guidelines.html. Behavior in violation of
those guidelines may result in your removal from this mailing list.
GitHub Issues: https://github.com/mitchellh/packer/issues
IRC: #packer-tool on Freenode
---
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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/packer-tool/d44893ff-9832-40c5-95a5-4b69d2424fb5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.