/srv/irclogs.ubuntu.com/2018/11/30/#ubuntu-server.txt

=== TheHonorableKitt is now known as ThKitten
cpaelzergood morning05:58
lordievaderGood morning07:14
=== Bodenhaltung_ is now known as Bodenhaltung
ahasenackgood morning10:31
baffleHi, 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 "active14:39
baffle(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:39
baffleIf I switch back to using /etc/network/interfaces, network-online.target has other dependencies, but still doesn't trigger.14:41
TJ-baffle: if you've got a Wants= surely you need an After= not a Before=14:59
baffleTJ-: Sorry. /lib/systemd/system/frr.service has [Unit] After=networking.service, [Install] WantedBy=network-online.target.15:17
baffleTJ-: 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:19
TJ-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 unit15:34
theGoatso i would like to centrally manage the authentication of my linux VMs, without using AD.  was wondering what my options were?15:56
cyphermoxLDAP16:04
cyphermoxalso NIS, and probably something I forgot, too16:05
leftyfbAnyone know of some documentation on deploying a disk image (from dd maybe) using PXE? (Not the fog project)17:41
lordcirthleftyfb, you probably want clonezilla17:46
leftyfbnope17:47
leftyfbclonezilla won't use a dd image17:47
leftyfbwe want to create images in a CI system and then deploy them using PXE17:47
lordcirthThat's surprising.  Have you considered not using dd, then?  It is pretty inefficient17:48
leftyfbpossibly17:49
lordcirthAlso, the clonezilla page says you can use dd images17:50
lordcirth"Based on Partclone (default), Partimage (optional), ntfsclone (optional), or dd to image or clone a partition."17:50
tewardleftyfb: you can use advanced clonezilla server / client modes17:52
tewardand make it use dd17:53
tewardit's slow (and I mean SLOW) but17:53
leftyfbdefine slow17:53
leftyfbslower than a d-i install via pxe?17:53
tewardno i mean the dd process :P17:53
lordcirthprobably depends on bandwidth vs cpu17:53
teward^ this17:53
lordcirthd-i is bottlenecked by dpkg unzip, I think17:54
TJ-leftyfb: what have you tried? are you using syslinux?17:54
leftyfbI 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 drive17:54
lordcirthleftyfb, that's pretty cool17:54
leftyfbTJ-: yes, I'm using syslinux17:54
lordcirthSo, why aren't you using fog, then?17:55
TJ-leftyfb: so you can do "LINUX memdisk" "INTRD disk.img" "APPEND raw" ?17:56
TJ-s/INTRD/INITRD/17:56
leftyfblordcirth: 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 to17:56
TJ-leftyfb: oh, you wouldn't even need the APPEND for a HDD/partitioned image file > 4GB17:57
leftyfbTJ-: 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 drive17:57
TJ-leftyfb: using memdisk, yes17:57
TJ-leftyfb: maybe this'll help: https://www.syslinux.org/wiki/index.php?title=MEMDISK#Hard_disk_images17:58
leftyfbTJ-: you sure this will dd the disk image to the physical drive and not just try to run it live in memory?17:59
TJ-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 device17:59
leftyfbah, see, right17:59
leftyfbThat's what I'm looking to do, write the image17:59
TJ-leftyfb: it'd have to be 2 stage, you've got to have something that can do the fetching and writing18:00
leftyfbTJ-: is there documentation on writing such an initrd.img? Can it run a python script as well?18:00
leftyfbTJ-: what do you mean by 2 stage? As in chain loading initrd's or something?18:01
TJ-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/init18:04
leftyfbah right, for any post-install(HOSTNAME) right?18:04
TJ-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 it18:05
TJ-casper loads/fetches the ./casper/filesystemd.squashfs for example18:05
leftyfbThe 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/hostname18:05
leftyfbSo maybe all I need is a custom initrd18:06
TJ-yes, it sounds like it18:07
leftyfbCan 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 memory18:08
lordcirthleftyfb, dd will accept from a pipe.  Get it there how you please18:08
lordcirthhonestly you could probably netcat it18:08
leftyfbok, that's what I figured. I've done it from tar/zip18:09
lordcirthnetcat may not be a wise idea, though18:09
leftyfblooks like I have a ton of stuff to look into/learn18:09
lordcirthDon't we all18:09
leftyfbit's too bad FOG wasn't easier to play with. The imaging/deploying was so efficient18:10
lordcirthI've added FOG to my tech todo list18:10
leftyfbThe install was a bit of a mess18:10
lordcirthI want to install OpenNebula on my home server, and put FOG in a VM on it18:11
leftyfbIt's a well-meaning project and it's got the imaging stuff down nicely, but the UX is pretty bad18:11
lordcirthIt's not a homelab if it's not needlessly complex for home use18:11
leftyfblordcirth: https://photos.app.goo.gl/LmdPoSS9wP4VtCDt820:35
leftyfbmy "home lab"20:36
lordcirthneat20:36
leftyfblordcirth: have you seen my little pi rack?20:43
lordcirthno20:43
leftyfbhttps://photos.app.goo.gl/UBtwQK2mumzh4w7F920:47
mybalzitchoh shit, that's nicely organized and everything!20:48
leftyfb:)20:48
mybalzitchthat 2nd photo is real pleasing to look at20:48
leftyfball custom20:48
lordcirthShiny20:50
bjonnhrunning 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-Engine21:57
bjonnhI had to follow (some how, they have a lot of mistakes) that21:57

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!