Hi, First, sorry for the delay. If I got your point, looks like I need to setup a initial configuration to get SSH enable, so I follow some templates now and I'll test but I got stuck because of Memory issue in my laptop, I don't have enough memory to setup the VM, so I'm waiting for the IT guys get this done. Soon as I have this updated I'll keep here posted.
On Tuesday, October 8, 2019 at 1:56:17 PM UTC-3, Andre Moraes (ICARO TECH) wrote: > > Hello everyone, > > I’m new in Packer world and I’m stuck in a few days trying to create an > hyperv image using CoreOS as ‘iso’. > Here’s the template that I’m using right now: > > { > "description": "CoreOS image for a VirtualBox platform.", > > "builders": [{ > "type": "hyperv-iso", > "iso_url": > "https://stable.release.core-os.net/amd64-usr/current/coreos_production_iso_image.iso", > "iso_checksum": "5d41fe61404f298a87f303d766b84d3b", > "iso_checksum_type": "md5", > "ssh_username": "packer", > "ssh_password": "packer", > "vm_name": "testvm", > "memory": 3000, > "ssh_timeout" : "10m", > "shutdown_command": "echo 'packer' | sudo -S shutdown -P now", > "boot_wait": "50s", > "http_directory": "./extra/files", > "boot_command": [ > "sudo -i<enter>", > "systemctl stop sshd.socket<enter>", > "wget http://{{ .HTTPIP }}:{{ .HTTPPort }}/install.yml<enter>", > "coreos-install -d /dev/sda -C {{user `channel`}} -c install.yml<enter>", > "reboot" > ] > }] > > } > > Error: [DEBUG] Error getting SSH address: No ip address > Timeout waiting for SSH. > > > Full packer_log attached. > -- Your privacy is important to us. That is why we have taken appropriate measures to ensure the data you provide to us is kept secure. To learn more about how we process your personal information, how we comply with applicable data protection laws, and care for the security and privacy of your personal data, please review our Privacy Policy <https://www.motorolasolutions.com/en_us/about/privacy-policy.html#privacystatement>. If you have any questions related to data protection and compliance with applicable laws, please contact us at our Security Operations Center at 1-302-444-9838 or mail us at: Attention: Privacy Compliance Program, P.O. Box 59263, Schaumburg, IL USA, 60159-0263 -- 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 packer-tool+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/packer-tool/4c32c559-1651-4c44-8a04-4339d2d8f94c%40googlegroups.com.