/srv/irclogs.ubuntu.com/2018/12/17/#ubuntu-server.txt

=== not_phunyguy is now known as phunyguy
=== not_phunyguy is now known as phunyguy
faekjarzHi There! A hypothetical scenario: a symlink under a read-only mount, it points to a file under a read-write mount - is it writable, when using the path under the read-only mount?05:19
andolfaekjarz: Sounds like an easy enough thing to test/verify yourself?05:32
faekjarzOh thanks, mate, no worries! Are you a snarky teacher type, or someone who just couldn't resist? :P06:57
lordievaderGood morning08:15
jamespagecpaelzer: are you working that rmq issue with permissions on the erlang cookie?10:16
jamespagecpaelzer: I think the break is due to the new erlang 21.2 uploaded last week10:18
jamespagecpaelzer: or maybe 1:21.1.1+dfsg-210:22
cpaelzerjamespage: I'm not working on it10:31
cpaelzerjamespage: I was just assisting mwhudson who was asking for a test on s390x10:32
cpaelzerI just started libvirt/qemu merges of the cycle which has a lot of extra tasks as usual  - that will keep me busy for a while10:32
jamespagecpaelzer: OK I'll see if I can figure it out10:51
=== crimastergogo_ is now known as crimastergogo
jamespagecpaelzer: I'll test from https://launchpad.net/~ci-train-ppa-service/+archive/ubuntu/3568/+packages and upload in the morning16:40
=== crimastergogo_ is now known as crimastergogo
=== TheHonorableKitt is now known as ThKitten
[diablo]good afternoon #ubuntu-server17:17
[diablo]guys I want to make a template of 18.04 for use with Proxmox ...17:17
[diablo]is there any funky built in scripts for vaping the NIC's, logs, users, blah blah so I can convert a machine to a template please?17:18
[diablo]Good afternoon #ubuntu-server .. guys I want to make a 18.04 template for use with Proxmox. Is there any scripts to clean up a system (logs, users, mac addresses, etc etc) which I can then shut the box down and convert it to a template please?17:21
rbasak[diablo]: look into cloud-init. If you use cloud images, you can set up an instance and it becomes a template by self-detecting a change of instance id on next boot.18:32
rbasakCloud images with the use of cloud-init are how we solve this general problem on Ubuntu.18:32
[diablo]hi rbasak18:44
[diablo]will do thank you18:45
[diablo]rbasak I read something about installing in OEM mode18:47
rbasakI'm not familiar with OEM mode. That's more of a desktop thing.18:52
[diablo]ah ok18:54
JanCoem-config is more for interactive post-install configuration and you want non-interactive...19:05
JanC(it doesn't necessarily have to be a desktop thing)19:07
NyanCatcryptodan_mobile: this is VERY late but yes20:15
NyanCatI did have to install the sudo package though, but was logged in as root20:16
DammitJimin ubuntu 18, how does one manage time synching?20:36
DammitJimI was reading that timesync takes care of it, but I can't define the servers I want my server to sync with?20:36
sdezielDammitJim: man timesyncd.conf20:38
sdezielDammitJim: otherwise, it will usually sync with DHCP provided NTP20:38
DammitJimhmmmm20:42
sdezielDammitJim: there is also the distro specific fallback (ntp.ubuntu.com)20:56
allquixoticPSA: To get macvtap working on Ubuntu 18.04 after a server migration to newer hardware, I had to change `yakkety` to `bionic` in <type arch='x86_64' machine='pc-i440fx-yakkety'>hvm</type>. I figured it out because I was comparing a working VM with an older one that was on the older machine type, tried it just for fun, and it worked. Update your qemu machine types! Good general advice21:56
[diablo]anyone know if it's possible to force ubuntu (18.04) to regenerate the sshd host keys on boot automatically if the files aren't present please?22:26
[diablo]or make the entire box redo it's first boot setup22:27
mwhudson[diablo]: dpkg-reconfigure openssh-server should do it i think22:34
[diablo]hi mwhudson yeah it does22:34
mwhudsonhow did you manage to get into that state?22:34
[diablo]but I want it to run on boot22:34
[diablo]I'm making a template22:34
mwhudsongenerating them is one of the things cloud-init can do22:34
[diablo]for VM's ... so each needs to be unique22:34
[diablo]mwhudson yeah, I think I need to flag it to do that tho22:35
mwhudsoncloud-init is the general solution to doing per-instance customization of vms for sure22:35
mwhudsonhmm22:35
mwhudsoni'd have to go look but if it's doing anything at all, i'd have guessed it would make ssh host keys22:35
[diablo]I will make a new template and run a test... perhaps it does it if the shutdown machine has no _host files22:37
mwhudsonoh right yes22:45
mwhudsonit won't overwrite any that are there by default22:45
mwhudsoni would definitely make sure your template does not have any host keys22:46
[diablo]just spinning up a new one, to see if cloud-init generates them once again...22:51
mwhudsonthe other thing i guess is that you have to make sure cloud-init does per-instance things when you boot your vms22:53
mwhudsonwhich is all down to instance id iirc22:53
[diablo]ah yeah it does, so if I rm them from the vm before shutting it down, and then converting to template in proxmox, when I spin it up as a new vm cloud-init does generate new keys22:59
mwhudson[diablo]: glad to hear it23:00
[diablo]cheers mwhudson ...right off to bed.. midnight23:00
[diablo]all the best23:00

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