=== vlm_ is now known as vlm | ||
Hamidreza | Hi guys, Is there any way to put my command on startup? (not when user login just when a reboot will happen) | 07:08 |
---|---|---|
Hamidreza | it is better to use crontab or create systemd unit file for it? | 07:20 |
rfm | Hamidreza, 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 |
rfm | Hamidreza, 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 |
Hamidreza | rfm, thank you , but How can I run command via systemd | 08:24 |
lotuspsychje | alterjsive: think its best to contact canonical, https://microk8s.io/ | 08:31 |
alterjsive | lotuspsychje: 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 |
alterjsive | still feel a bit hesitant to call organisations while I don't have a decent website yet. | 08:49 |
lotuspsychje | alterjsive: have a look at snap find kubernete | 08:49 |
alterjsive | lotuspsychje: I was thinking about following this tutorial: https://jonathangazeley.com/2020/09/10/building-a-hyperconverged-kubernetes-cluster-with-microk8s-and-ceph/ | 08:50 |
alterjsive | last 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 |
alterjsive | still I aim for a production like environment since I hope to use it in production as soon as possible | 08:53 |
alterjsive | I think I'll provision the servers with ansible | 09:54 |
lotuspsychje | alterjsive: idle around a bit here, from mondays this channel gets more active, more hints might come your way | 09:56 |
alterjsive | lotuspsychje: ok great to hear, thanks! | 09:57 |
Hamidreza | Hi 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.test | 11:51 |
uzee | My 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 |
uzee | I've checked /var/log/installer/partman but dont see any errors | 12:09 |
uzee | never mind, the preseed was allocating min 30+ gb and my VM disk was only 20gb so it was probably ignoring it due to that | 12:52 |
tomreyn | you're aware that preseed support is being phased out? | 12:53 |
tomreyn | i'm not sure what ubuntu release you were using, though, you did not tell. | 12:54 |
uzee | tomreyn: oh no, I wasn't aware at all, thanks for pointing out. I was using both Ubuntu 18.04 and Ubuntu 20.04 | 13:05 |
uzee | so if not preseed, then what would be the option for automatic installs? | 13:06 |
tomreyn | uzee: autoinstall, as supported by 18.04 LTS and 20.04 LTS | 13:15 |
tomreyn | ...live-server images | 13:16 |
uzee | tomreyn: 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 |
tomreyn | uzee: 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 |
uzee | got 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 |
uzee | But looks like autoinstall has a much cleaner way to do that ;) | 13:26 |
uzee | on 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.com | 13:28 |
tomreyn | using a custom / local mirror server is possible, and was previously (debian-installer) possible, too. | 13:36 |
tomreyn | proxying should also work (and used to work with debian-installer) | 13:38 |
tomreyn | please don't expect to get support with 16.04 LTS here after april, though. | 13:41 |
uzee | tomreyn: 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 try | 14:08 |
uzee | thanks for the 16.04 reminder | 14: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 | |
JamesB192 | Ah, 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!