[07:24] <meena> holmanb: I'll send you a PR https://github.com/canonical/cloud-init/pull/2127 with the implementation
[07:24] -ubottu:#cloud-init- Pull 2127 in canonical/cloud-init "Support Ephemeral Networking for BSD" [Open]
[18:46] <DividedWeFall> ds=nocloud-net is not working for me. this is what I currently have...
[18:46] <DividedWeFall> # ---------- ---------- ---------- ---------- ---------- ---------- ---------- ---------- ---------- ----------
[18:46] <DividedWeFall> HOST> ip address...
[18:46] <DividedWeFall> 4: eth3: <BROADCAST,MULTICAST,UP> mtu 1500 group default qlen 1
[18:46] <DividedWeFall>     link/ether 00:50:b6:5a:76:8b
[18:46] <DividedWeFall>     inet 192.168.1.8/24 brd 192.168.1.255 scope global dynamic
[18:46] <DividedWeFall>        valid_lft forever preferred_lft forever
[18:46] <DividedWeFall>     inet6 fe80::1959:c96f:f29a:895/64 scope link dynamic
[18:46] <DividedWeFall>        valid_lft forever preferred_lft forever
[18:46] <DividedWeFall> # ---------- ---------- ---------- ---------- ---------- ---------- ---------- ---------- ---------- ----------
[18:46] <DividedWeFall> cat variables.json...
[18:46] <DividedWeFall> {
[18:46] <DividedWeFall>   "vm_name": "ubuntu2204-0-0-2-virtualbox",
[18:46] <DividedWeFall>   "cpus": 2,
[18:46] <DividedWeFall>   "memory": 4096,
[18:46] <DividedWeFall>   "disk_size": 20000,
[18:46] <DividedWeFall>   "ssh_username": "vagrant",
[18:46] <DividedWeFall>   "ssh_password": "vagrant",
[18:46] <DividedWeFall>                 "boot",
[18:46] <DividedWeFall>                 "<enter>"
[18:46] <DividedWeFall> ],
[18:46] <DividedWeFall>   "iso_url": "https://cdimage.ubuntu.com/releases/22.04.2/release/ubuntu-22.04.2-live-server-amd64.iso",
[18:46] <DividedWeFall>   "output_file": "ubuntu2204-0-0-2-virtualbox.box",
[18:46] <DividedWeFall>   "output_directory": "output"
[18:46] <DividedWeFall> }
[18:46] <DividedWeFall> # ---------- ---------- ---------- ---------- ---------- ---------- ---------- ---------- ---------- ----------
[18:46] <DividedWeFall> cat virtualbox.pkr.hcl...
[18:46] <DividedWeFall> packer {
[18:46] <DividedWeFall>   required_plugins {
[18:46] <DividedWeFall>     virtualbox = {
[18:46] <DividedWeFall>       version = ">= 1.0.0"
[18:46] <DividedWeFall>       source  = "github.com/hashicorp/virtualbox"
[18:46] <DividedWeFall>     }
[18:46] <DividedWeFall>   }
[18:46] <DividedWeFall> }
[18:46] <DividedWeFall> variable "boot_command" {
[18:46] <DividedWeFall>   type = string
[18:46] <DividedWeFall> }
[18:46] <DividedWeFall> variable "chipset" {
[18:46] <DividedWeFall>   type = string
[18:46] <DividedWeFall>   default = "ich9"
[18:46] <DividedWeFall> }
[18:46] <DividedWeFall> variable "guest_additions_sha256" {
[18:46] <DividedWeFall>   type = string
[18:46] <DividedWeFall> }
[18:46] <DividedWeFall> variable "guest_additions_url" {
[18:46] <DividedWeFall>   type = string
[18:46] <DividedWeFall> }
[18:46] <DividedWeFall> variable "iso_checksum" {
[18:46] <DividedWeFall>   type = string
[18:46] <DividedWeFall> }
[18:46] <DividedWeFall> variable "iso_url" {
[18:47] <DividedWeFall>   type = string
[18:47] <DividedWeFall> }
[18:47] <DividedWeFall>   cpus                     = var.cpus
[18:47] <DividedWeFall>   memory                   = var.memory
[18:47] <DividedWeFall>   disk_size                = var.disk_size
[18:47] <DividedWeFall>   format                   = "ovf"
[18:47] <DividedWeFall>   guest_additions_sha256   = var.guest_additions_sha256
[18:47] <DividedWeFall>   guest_additions_url      = var.guest_additions_url
[18:47] <DividedWeFall>   guest_os_type            = "Ubuntu_64"
[18:47] <DividedWeFall>   hard_drive_interface     = "sata"
[18:47] <DividedWeFall>   headless                 = false
[18:47] <DividedWeFall>   http_directory           = "http/${var.vm_name}"  # Starts a local http server, serves Preseed file
[18:47] <DividedWeFall> http_port_min = 8888
[18:47] <DividedWeFall> http_port_max = 8888
[18:47] <DividedWeFall>   iso_checksum             = var.iso_checksum
[18:47] <DividedWeFall>   iso_urls                 = [var.local_iso_url, var.iso_url]
[18:47] <DividedWeFall>   output_directory         = var.output_directory
[18:47] <DividedWeFall>   post_shutdown_delay      = "30s"
[18:47] <DividedWeFall>   shutdown_command = "echo '${var.ssh_password}' | sudo -S shutdown -P now"
[18:47] <DividedWeFall>   communicator             = "ssh"
[18:47] <DividedWeFall> # ---------- ---------- ---------- ---------- ---------- ---------- ---------- ---------- ---------- ----------
[18:47] <DividedWeFall> cat http/ubuntu2204-0-0-2-virtualbox/user-data...
[18:47] <DividedWeFall> #cloud-config
[18:47] <DividedWeFall> autoinstall:
[18:47] <DividedWeFall>   version: 1
[18:47] <DividedWeFall>   instance-id: iid-auto-default
[18:47] <DividedWeFall>   locale: en_US
[18:47] <DividedWeFall>   ssh:
[18:47] <DividedWeFall>     allow-pw: true
[18:47] <DividedWeFall>     install-server: true
[18:47] <DividedWeFall>   identity:
[18:47] <DividedWeFall>     hostname: localhost
[18:47] <DividedWeFall>     username: vagrant
[18:47] <DividedWeFall>     password "$6$K4ai6t7bm0S/K6PR$m8iYdMD0U3C7XWMpwfMnBcchyeAKAJ/WafUqCRgCxTeM8hbDft47yfeYPTMf7LjZrWOhFFLoo7V75FD79KpCJ/"
[18:47] <DividedWeFall> # ---------- ---------- ---------- ---------- ---------- ---------- ---------- ---------- ---------- ----------
[18:47] <DividedWeFall> cat http/ubuntu2204-0-0-2-virtualbox/meta-data...
[18:47] <DividedWeFall> # exists but empty
[18:47] <DividedWeFall> # ---------- ---------- ---------- ---------- ---------- ---------- ---------- ---------- ---------- ----------
[19:02] <DividedWeFall> in addition...
[19:02] <DividedWeFall> password "$6$K4ai6t7bm0S..." was a copy error on my part and should contain a colon as follows... - password: "$6$K4ai6t7bm0S..."
[19:02] <DividedWeFall> this was previously run on my Windows' host...
[19:02] <DividedWeFall> cmd(admin)```
[19:02] <DividedWeFall> advfirewall firewall add rule name="TCP Port 8888" dir=in action=allow protocol=TCP localport=8888
[19:02] <DividedWeFall> ```
[19:36] <minimal> DavidedWeFall: please don't paste large amounts of text in the channel, use a pastebin-type link
[19:58] <meena> that is a large amount of text
[21:49] <meena> so, uhm, i've been trying to get lxd to boot an ubuntu image with cloud-init config, and it does… nothing
[21:49] <meena> that seems like pretty bad form
[21:50] <meena> and I'm still just investigating bugs in FreeBSD, and i didn't expect to hit *this* difficulty…
[22:32] <meena> holmanb: what's the difference between route_add() and route_append() ?