Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error when boot commands are sent #319

Closed
edbg opened this issue Jun 15, 2024 · 2 comments
Closed

error when boot commands are sent #319

edbg opened this issue Jun 15, 2024 · 2 comments

Comments

@edbg
Copy link

edbg commented Jun 15, 2024

Issue Reporting

Error running boot command

After I run the following command build command:
packer build -var-file='..\credentials.pkr.hcl' .\ubuntu-server.pkr.hcl

using this iso ubuntu-24.04-live-server-amd64.iso

the following boot command is sent
loud-net;s=http://172.26.64.1:8122

and every time I get the following error
err: can't find command 'loud-net'

here are my packer boot commands

PACKER Boot Commands

boot_command = [
    "<esc><wait><esc><wait>",
    "<f6><wait><esc><wait>",
    "<bs><bs><bs><bs><bs>",
    "autoinstall ds=nocloud-net;s=http://{{ .HTTPIP }}:{{ .HTTPPort }}/ ",
    "--- <enter>"

Screenshots

provided screenshot
brave_EzQ5lZsCqC

Environment

I am running ProxMox 8.2.2
Packer v1.11.0

Any help is greatly appreciated.

@kkrolikowski
Copy link

kkrolikowski commented Aug 24, 2024

Try below boot command. I'm not sure if it will work with 24.04. I was using it with Ubuntu 22.04

  boot_command = [
    "<esc><wait>",
    "e<wait>",
    "<down><down><down><end>",
    "<bs><bs><bs><bs><wait>",
    "autoinstall ds=nocloud-net\\;s=http://{{ .HTTPIP }}:{{ .HTTPPort }}/ ---<wait>",
    "<f10><wait>"
  ]
  boot = "c"
  boot_wait = "5s"

Your problem is mentioned in this PR: #374

@ChristianLempa
Copy link
Owner

Should be fixed in #374

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants