=== TheHonorableKitt is now known as ThKitten [05:58] good morning [07:14] Good morning === Bodenhaltung_ is now known as Bodenhaltung [10:31] good morning [14:39] Hi, I am trying to get frr to start on boot on 18.04, and the unit-file has Wants/Before=network-online.target .. But network-online.target is never reached, status says "inactive (dead)".. network-online.target has depends on systemd-networkd-wait-online.service (I use netplan for interface config), but that is also "inactive (dead)". It again depends on systemd-networkd.service, wich is "active [14:39] (running)" and has no errors, and have configured interfaces.. Any tips? I'm getting really frustrated. If I do "systemctl --type=target" network-online.target is not listed.. [14:41] If I switch back to using /etc/network/interfaces, network-online.target has other dependencies, but still doesn't trigger. [14:59] baffle: if you've got a Wants= surely you need an After= not a Before= [15:17] TJ-: Sorry. /lib/systemd/system/frr.service has [Unit] After=networking.service, [Install] WantedBy=network-online.target. [15:19] TJ-: If I do systemctl show frr.service it says "Before=shutdown.target network-online.target" and "After=basic.target system.slice networking.service systemd-journald.socket sysinit.target". [15:34] baffle: ahhh... maybe I've got confused again over 'Wants=' - I seem to recall someone in #systemd telling me it is like an inverse dependency, as in this unit becomes Want-ed by the named unit [15:56] so i would like to centrally manage the authentication of my linux VMs, without using AD. was wondering what my options were? [16:04] LDAP [16:05] also NIS, and probably something I forgot, too [17:41] Anyone know of some documentation on deploying a disk image (from dd maybe) using PXE? (Not the fog project) [17:46] leftyfb, you probably want clonezilla [17:47] nope [17:47] clonezilla won't use a dd image [17:47] we want to create images in a CI system and then deploy them using PXE [17:48] That's surprising. Have you considered not using dd, then? It is pretty inefficient [17:49] possibly [17:50] Also, the clonezilla page says you can use dd images [17:50] "Based on Partclone (default), Partimage (optional), ntfsclone (optional), or dd to image or clone a partition." [17:52] leftyfb: you can use advanced clonezilla server / client modes [17:53] and make it use dd [17:53] it's slow (and I mean SLOW) but [17:53] define slow [17:53] slower than a d-i install via pxe? [17:53] no i mean the dd process :P [17:53] probably depends on bandwidth vs cpu [17:53] ^ this [17:54] d-i is bottlenecked by dpkg unzip, I think [17:54] leftyfb: what have you tried? are you using syslinux? [17:54] I must say, I was VERY impressed with FOG. It pull a 10G image from a 120G drive and compressed it down to about 600M, all within a minute or 2. Takes the same amount of time to deploy it back to the same drive [17:54] leftyfb, that's pretty cool [17:54] TJ-: yes, I'm using syslinux [17:55] So, why aren't you using fog, then? [17:56] leftyfb: so you can do "LINUX memdisk" "INTRD disk.img" "APPEND raw" ? [17:56] s/INTRD/INITRD/ [17:56] lordcirth: because it's way overkill for what we need, not sure about the importing of dd images from a separate CI system and there would be a ton of custom work to get it to use the system serial# from DMI to determine a hostname as opposed to MAC address. At the moment I can't even get it to change the hostname after deployment like it's supposed to [17:57] leftyfb: oh, you wouldn't even need the APPEND for a HDD/partitioned image file > 4GB [17:57] TJ-: At the moment I'm only using syslinux to run a d-i install. Are you saying syslinux is capable of deploying a dd image on it's own? I'm not looking to run it live, I need it to dd the image back to the drive [17:57] leftyfb: using memdisk, yes [17:58] leftyfb: maybe this'll help: https://www.syslinux.org/wiki/index.php?title=MEMDISK#Hard_disk_images [17:59] TJ-: you sure this will dd the disk image to the physical drive and not just try to run it live in memory? [17:59] leftyfb: if you want to write the image, you'd need to boot a minimal initrd.img that fetches the disk/img and writes it to the device [17:59] ah, see, right [17:59] That's what I'm looking to do, write the image [18:00] leftyfb: it'd have to be 2 stage, you've got to have something that can do the fetching and writing [18:00] TJ-: is there documentation on writing such an initrd.img? Can it run a python script as well? [18:01] TJ-: what do you mean by 2 stage? As in chain loading initrd's or something? [18:04] leftyfb: 2 stage as in 1) PXE boot a kernel and initrd 2) initrd fetches disk.img and writes it to disk, then sets things up to pivot to its rootfs and start its /sbin/init [18:04] ah right, for any post-install(HOSTNAME) right? [18:05] leftyfb: casper is designed to do that but with an ISO image; you may be able to adapt those casper initialramfs scripts/config/directives to do it [18:05] casper loads/fetches the ./casper/filesystemd.squashfs for example [18:05] The only thing I need to do post-image is change the hostname. I could do that just by mounting the partition and sed'ing the /etc/hostname [18:06] So maybe all I need is a custom initrd [18:07] yes, it sounds like it [18:08] Can dd use an image it's getting live over wget or the like? It'll be in the 10's of GB's, not enough to stick in memory [18:08] leftyfb, dd will accept from a pipe. Get it there how you please [18:08] honestly you could probably netcat it [18:09] ok, that's what I figured. I've done it from tar/zip [18:09] netcat may not be a wise idea, though [18:09] looks like I have a ton of stuff to look into/learn [18:09] Don't we all [18:10] it's too bad FOG wasn't easier to play with. The imaging/deploying was so efficient [18:10] I've added FOG to my tech todo list [18:10] The install was a bit of a mess [18:11] I want to install OpenNebula on my home server, and put FOG in a VM on it [18:11] It's a well-meaning project and it's got the imaging stuff down nicely, but the UX is pretty bad [18:11] It's not a homelab if it's not needlessly complex for home use [20:35] lordcirth: https://photos.app.goo.gl/LmdPoSS9wP4VtCDt8 [20:36] my "home lab" [20:36] neat [20:43] lordcirth: have you seen my little pi rack? [20:43] no [20:47] https://photos.app.goo.gl/UBtwQK2mumzh4w7F9 [20:48] oh shit, that's nicely organized and everything! [20:48] :) [20:48] that 2nd photo is real pleasing to look at [20:48] all custom [20:50] Shiny [21:57] running docker in LXD : https://support.plesk.com/hc/en-us/articles/360012448554-Docker-updated-leads-to-the-failed-docker-service-Dependency-failed-for-Docker-Application-Container-Engine [21:57] I had to follow (some how, they have a lot of mistakes) that