Skip to content

Ubuntu auto-install files not found - 404 #112

Description

@ewalter

Hello, I have a fresh download of bootimus-linux-amd64.0.1.74 running on a local test system. I've downloaded and extracted Ubuntu 24.04 server LTS and am trying to get auto-install working. No matter what I do, the auto-install files are inaccessible.

Here's how I have the image configured:

curl -s -X GET 'http://localhost:8081/api/images' -H "Authorization: Bearer $BOOTIMUS_TOKEN" |jq
{
  "success": true,
  "data": [
    {
      "id": 2,
      "created_at": "2026-08-06T11:42:06.031062153-04:00",
      "updated_at": "2026-08-06T11:46:18.384114976-04:00",
      "deleted_at": null,
      "name": "ubuntu-24.04.4-live-server-amd64",
      "filename": "ubuntu-24.04.4-live-server-amd64.iso",
      "description": "Ubuntu 24.04 LTS Server (amd64)",
      "size": 3405469696,
      "enabled": true,
      "public": true,
      "boot_count": 0,
      "order": 0,
      "extracted": true,
      "distro": "ubuntu",
      "boot_method": "kernel",
      "kernel_path": "data/isos/ubuntu-24.04.4-live-server-amd64/vmlinuz",
      "initrd_path": "data/isos/ubuntu-24.04.4-live-server-amd64/initrd",
      "boot_params": "boot=casper initrd=initrd ds=nocloud ip=dhcp iso-url={{BASE_URL}}/isos/{{FILENAME}}",
      "squashfs_path": "iso/casper/UBUNTU_SERVER_MINIMAL.SQUASHFS",
      "extracted_at": "2026-08-06T11:45:30.910662198-04:00",
      "sanboot_compatible": false,
      "sanboot_hint": "Ubuntu requires kernel extraction. Use 'Extract Kernel/Initrd' for network boot support.",
      "netboot_required": false,
      "netboot_available": false,
      "auto_install_enabled": true,
      "smb_install_enabled": false,
      "smb_needs_repatch": false,
      "auto_install_file": "ubuntu/default.yaml"
    }
  ]
}

As you can see, the auto_install_file is enabled and wired up as "ubuntu/default.yaml"

curl -s -X GET 'http://localhost:8081/api/autoinstall-files' -H "Authorization: Bearer $BOOTIMUS_TOKEN" |jq
{
  "success": true,
  "data": [
    {
      "distro": "ubuntu",
      "filename": "default.yaml",
      "path": "ubuntu/default.yaml",
      "type": "autoinstall",
      "size": 496
    }
  ]
}

On the filesystem, everything looks good as well:

ls -l data/autoinstall/ubuntu/
total 4
-rw-r--r-- 1 root root 496 Aug  6 11:44 default.yaml

Unfortunately, I'm not able to get the default.yaml file over http (so the autoinstall process fails to initiate):

wget http://localhost:8080/auto-install/ubuntu/default.yaml
--2026-08-06 12:32:11--  http://localhost:8080/auto-install/ubuntu/default.yaml
Resolving localhost (localhost)... 127.0.0.1
Connecting to localhost (localhost)|127.0.0.1|:8080... connected.
HTTP request sent, awaiting response... 404 Not Found
2026-08-06 12:32:12 ERROR 404: Not Found.

wget http://localhost:8080/auto-install/default.yaml
--2026-08-06 12:32:23--  http://localhost:8080/auto-install/default.yaml
Resolving localhost (localhost)... 127.0.0.1
Connecting to localhost (localhost)|127.0.0.1|:8080... connected.
HTTP request sent, awaiting response... 404 Not Found
2026-08-06 12:32:23 ERROR 404: Not Found.

wget http://localhost:8080/default.yaml
--2026-08-06 12:32:29--  http://localhost:8080/default.yaml
Resolving localhost (localhost)... 127.0.0.1
Connecting to localhost (localhost)|127.0.0.1|:8080... connected.
HTTP request sent, awaiting response... 404 Not Found
2026-08-06 12:32:29 ERROR 404: Not Found.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions