/srv/irclogs.ubuntu.com/2021/02/21/#ubuntu-server.txt

=== vlm_ is now known as vlm
HamidrezaHi guys, Is there any way to put my command on startup? (not when user login just when a reboot will happen)07:08
Hamidrezait is better to use crontab or create systemd unit file for it?07:20
rfmHamidreza, crontab is probably quicker to do, since it's just one line in the crontab, but learning how to do systemd units (lots of examples to follow in /lib/systemd) is a useful skill.08:06
rfmHamidreza, one advantage of systemd is if something goes wrong you have "systemctl status" to show any output, etc.  whereas cron jobs are famous for just silently not working...08:07
Hamidrezarfm, thank you , but How can I run command via systemd08:24
lotuspsychjealterjsive: think its best to contact canonical, https://microk8s.io/08:31
alterjsivelotuspsychje: I'm working on a filantropic startup called peacepact.org, I'm looking for a kubernetes cluster that is community driven or an organisation that is very friendly to support this kind of project in the startup stage.08:48
alterjsivestill feel a bit hesitant to call organisations while I don't have a decent website yet.08:49
lotuspsychjealterjsive: have a look at snap find kubernete08:49
alterjsivelotuspsychje: I was thinking about following this tutorial: https://jonathangazeley.com/2020/09/10/building-a-hyperconverged-kubernetes-cluster-with-microk8s-and-ceph/08:50
alterjsivelast night I also discovered MAAS but I don't want to make things unnessisary complex since I'm a one man team making a proof of concept.08:52
alterjsivestill I aim for a production like environment since I hope to use it in production as soon as possible08:53
alterjsiveI think I'll provision the servers with ansible09:54
lotuspsychjealterjsive: idle around a bit here, from mondays this channel gets more active, more hints might come your way09:56
alterjsivelotuspsychje: ok great to hear, thanks!09:57
HamidrezaHi guys, I'm binding my service on a name but couldn't bind till I remove following line about ipv6 in /etc/hosts :11:51
Hamidreza::1 mongodb.test.local mongodb.test11:51
uzeeMy preseed has suddenly stopped doing the partitioning for some reason. I built a machine a couple months ago fine, but today, it creates the VG so its definitely getting to the partitioning part, but it then puts everything under vg-root, any ideas guys?12:08
uzeeI've checked /var/log/installer/partman but dont see any errors12:09
uzeenever mind, the preseed was allocating min 30+ gb and my VM disk was only 20gb so it was probably ignoring it due to that12:52
tomreynyou're aware that preseed support is being phased out?12:53
tomreyni'm not sure what ubuntu release you were using, though, you did not tell.12:54
uzeetomreyn: oh no, I wasn't aware at all, thanks for pointing out. I was using both Ubuntu 18.04 and Ubuntu 20.0413:05
uzeeso if not preseed, then what would be the option for automatic installs?13:06
tomreynuzee: autoinstall, as supported by 18.04 LTS and 20.04 LTS13:15
tomreyn...live-server images13:16
uzeetomreyn: thanks very much, just going over autoinstall right now, looks good. By "...live-server images" you meant that autoinstall uses live-server image aas opposed to the miniboot.iso, correct?13:21
tomreynuzee: yes, there are different installer iso images,  the current default (since 18.04) are the ones with 'live-server' in the iso file name.13:23
uzeegot it... I am going over the autoinstall docs to see how it does partitioning (that was my main pain point with preseed, the syntax was horrendous for custom disk layouts with lvm)13:25
uzeeBut looks like autoinstall has a much cleaner way to do that ;)13:26
uzeeon a slightly diff note, I still cant use a local host in our env as is possible in kickstart, right? with preseed it needed to fetch packages from archive/cc.ubunutu.com13:28
tomreynusing a custom / local mirror server is possible, and was previously (debian-installer) possible, too.13:36
tomreynproxying should also work (and used to work with debian-installer)13:38
tomreynplease don't expect to get support with 16.04 LTS here after april, though.13:41
uzeetomreyn: thanks much. Yes I was aware of the local mirror option but for some reason I remember had run into something and couldn't get it to work. Wasn't aware of the proxy option, might be worth a try14:08
uzeethanks for the 16.04 reminder14:09
* JamesB192 is trying to enable apache2 /cgi-bin on 20.04 and thinks -DUSR_LIB_CGI_BIN needs to be passed somewhere...15:36
JamesB192Ah, it needed another symlink and a web search.15:44
=== denningsrogue5 is now known as denningsrogue

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