| === LarsErik1 is now known as LarsErikP | ||
| === patrick_ is now known as patrick | ||
| Mmike | Hi, all. Is there a subiquity irc channel? I'm trying to use autoinstall to set up my kvm instances with virt-install, but I can't figure out how to pull ssh keys from launchpad/github. If I add 'user-data' section then autoinstal won't start, and I don't see option to import ssh keys in the 'identity' section. | 13:11 |
|---|---|---|
| Mmike | Also, where/how can I find logs for the autoinstaller (to see why autoinstall won't start when I add 'user-data' section) ? | 13:12 |
| rbasak | Mmike: if this is for KVM, is there a reason you're not using our cloud images? No need to run an installer then. | 13:35 |
| dbungert | Mmike: it is worth thinking about preinstalled images. If you've ruled that out, you should do a 'ssh-import-id' then include the results of that, those authorized_keys lines, as the strings in autoinstall.ssh.authorized-keys | 14:54 |
| dbungert | logs can be found at /var/log/installer/subiquity-server-debug.log, which is verbose but should show what's going on | 14:55 |
| === patrick_ is now known as patrick | ||
| === patrick_ is now known as patrick | ||
| === peer is now known as remote_host | ||
| === remote_host is now known as peer | ||
| Guest0 | Seeking input on why my netplan config isn't adding the ipv6 route on Ubuntu 22.04. The ipv6 gateway and address are on the same subnet. | 16:37 |
| Guest0 | I have confirmed manually adding the same route, gateway, and global-link ipv6 works and can successfully be pinged remotely using: | 16:37 |
| Guest0 | sudo ip -6 route add default via <ipv6>::1 dev <interface> | 16:37 |
| Guest0 | Ideally all networking is done via netplan to make it persistent over reboots. The rest of the config works as intented after netplan generate, netplan apply. Any input is appreciated. Here's the docs: https://netplan.readthedocs.io/en/stable/examples/#how-to-use-a-directly-connected-gateway | 16:37 |
| Guest0 | ~~~ | 16:37 |
| Guest0 | network: | 16:37 |
| Guest0 | Need input on why my netplan ipv6 route won't apply: https://dpaste.com/4E7PPVCKD | 16:39 |
| patdk-lap | hmm, I'm lazy, and using RA and dont define a route | 16:42 |
| Guest0 | ? | 16:43 |
| Guest0 | RA is disabled | 16:44 |
| Guest0 | Oh I see, you are talking about your own uses | 16:44 |
| patdk-lap | ya, I'm just using ra currently | 16:45 |
| patdk-lap | and my routers just do the ra failover as needed | 16:46 |
| Guest0 | Yeah, in this use case I need static IPs | 16:46 |
| patdk-lap | hmm, I'm using static | 16:47 |
| patdk-lap | ra has nothing to do with dynamic or static | 16:47 |
| patdk-lap | ra != dhcp/slaac | 16:48 |
| Guest0 | Oh, interesting | 16:48 |
| patdk-lap | if your doing slaac you NEED ra though | 16:48 |
| patdk-lap | but ra can be a security issue if you just let anyone on your network broadcast it | 16:49 |
| patdk-lap | but same for dhcp server | 16:49 |
| patdk-lap | have to lock it down on the switch, if you want to be secure | 16:49 |
| patdk-lap | or dont use it at all | 16:49 |
| Guest0 | Setting up networking on host machine for kolla ansible openstack install, running it over ipv6 family. | 16:51 |
| Guest0 | I don't believe I | 16:52 |
| Guest0 | need slaac for this | 16:52 |
| Guest0 | I was able to fix it by removing the /64 from the gateway address. Thanks :) | 17:01 |
| === y0sh- is now known as y0sh_ | ||
| Mmike | rbasak, yes - cloud images sometimes don't have what I need, or I need to install it there, and ubuntu server iso image is 'plain server' which I often see on hardware installed. | 22:13 |
| Mmike | I mean, I do use cloud images a lot locally, but there are situations where I just would like to have plain old installer (I miss debian installer, tbh, but I'm just old :D ) | 22:13 |
| Mmike | dbungert, so, there is no way to include ssh_import_key via user-data? I suppose I could create a template which is populated 'on the fly' when I wish to figre up plain old (ok, not that old!) installer.... Just wanted to make sure I'm not missing something. | 22:15 |
| Mmike | rbasak, for instance, installing maas/juju locally to work on openstack always started with installing ubuntu server in one kvm image, then installing maas, then enlisting 'other' kvm machines, and so on... That maas server was always installed using iso image because that's what customers would use. | 22:16 |
| dbungert | Mmike: yes, cloud-init supports ssh-import-id directly, that's also an option | 22:22 |
| dbungert | https://cloudinit.readthedocs.io/en/latest/reference/modules.html#users-and-groups | 22:23 |
| Mmike | yup, and I use that for cloud images. but it doesn't work with autoinstall, but... I'm trying again because it just might be PEBKAC :) | 22:26 |
| dbungert | Mmike: this problem maybe? https://canonical-subiquity.readthedocs-hosted.com/en/latest/explanation/cloudinit-autoinstall-interaction.html | 22:33 |
| Mmike | dbungert, I am aware of that, yes, but... if I include user-data: section then autoinstall won't start. Subiquity starts, asks me for language, keyboard, and all those things... | 22:46 |
| cpete_ | Mmike: Are you just putting user-data: underneath autoinstall: ? Sounds like subiquity didn't get any autoinstall from what you describe | 23:03 |
| cpete_ | https://canonical-subiquity.readthedocs-hosted.com/en/latest/tutorial/providing-autoinstall.html | 23:03 |
| === trekkie1701c_ is now known as trekkie1701c | ||
| === ice9_ is now known as ice9 | ||
| === p3lim3 is now known as p3lim | ||
| Mmike | cpete_, in the same level as 'identity:' | 23:11 |
| Mmike | aaaa | 23:12 |
| Mmike | #cloud-config header! | 23:12 |
| Mmike | man! :) | 23:12 |
| Mmike | why is that a header, beginning with a hash? :D | 23:12 |
| cpete_ | glad you got it sorted :) | 23:13 |
| === fastidio1 is now known as fastidious | ||
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!