lordievader | Good morning | 06:20 |
---|---|---|
=== m1dnight_ is now known as sometesttempnick | ||
=== sometesttempnick is now known as m1dnight_ | ||
RoyK | lordievader: good localtime(); # ;) | 10:44 |
lordievader | Heho RoyK | 10:48 |
lordievader | Doing alright? | 10:48 |
RoyK | it's ok - quarantened atm, waiting for a test result, but hell, it's ok | 11:15 |
Ussat | OK, so...I just changed the hostname / ip on a Ubuntu 18.04 system, modified the netplan file, changes the hostname with hostnamectl, edited the /etc/hosts file but sshing in is REAL slow, what did I miss ? | 20:59 |
TJ- | Ussat: generally that means name resolving is timing out | 21:00 |
sdeziel | it's been a while that sshd no longer does PTR lookups | 21:01 |
Ussat | Ya...thats the issue trying to find out why | 21:02 |
Ussat | I just dont know what I missed | 21:02 |
Ussat | I mean it just changed from xxx.xxx.xxx.120 to xxx.xxx.xxx.119, same subnet | 21:02 |
sdeziel | Ussat: anything special in "ssh -v"? | 21:03 |
Ussat | nothing needed to change re resolver | 21:03 |
TJ- | Ussat: once the SSH session is up, do sudo ... commands also delay? | 21:03 |
Soni | why does apt autostart everything before you're allowed to configure it? | 21:04 |
Ussat | TJ-, yes | 21:05 |
Soni | and is there any way to make it stop doing that? | 21:05 |
Ussat | I know its name resolution, just not sure what config I missed | 21:05 |
Soni | especially for things like webservers, bitlbee, irc bouncers, etc | 21:05 |
TJ- | Ussat: right. though as much. the issue is that nsswitch is still trying to find the old hostname | 21:05 |
Soni | (and even transmission-daemon tbh) | 21:06 |
Ussat | TJ-, ok...how to tell it to stop :) | 21:06 |
sdeziel | Ussat: maybe check you don't have UseDNS in sshd_config? | 21:06 |
Ussat | The RHEL system I did 20 mins before this was fine | 21:06 |
Ussat | sdeziel, that wouldnt fix the nsswitch issue though | 21:07 |
Soni | (just... how do you stop apt from making the system pwnable by default .-.) | 21:07 |
sdeziel | Ussat: it would at least prevent sshd from doing reverse lookup upon connection | 21:07 |
Ussat | its not set anyway | 21:08 |
sdeziel | OK, dunno then | 21:09 |
TJ- | Ussat: it's quite a while since I had that issue but I vaguely recall it was always due to having made a mistake somewhere | 21:09 |
sdeziel | maybe PAM stuff kicking in? | 21:09 |
TJ- | Ussat: do /etc/hostname, /etc/hosts 127.0.1.1 match? | 21:10 |
Ussat | THATS it, missed /etc/hostname file | 21:11 |
Ussat | Thanks | 21:11 |
Ussat | wait...they match | 21:12 |
Ussat | grr | 21:12 |
Ussat | OK...typo , instead or . | 21:14 |
Ussat | hanks | 21:14 |
Ussat | Thanks | 21:14 |
=== not_phunyguy is now known as phunyguy | ||
grendal-prime | hey does anyone know of an app to build a distrobution iso from a current ubuntu server install? | 21:27 |
grendal-prime | i want something i can run from command line i dont want to have to install a gui | 21:27 |
Ussat | FFS.....my esxi admin put it on the wrong vlan | 21:33 |
sarnold | Ussat: oh sheeeesh | 21:33 |
Ussat | yup | 21:33 |
Ussat | Decided to give her a acall, Hey <name> can we verify this vlan please | 21:34 |
Ussat | 129...192 | 21:34 |
Ussat | sigh | 21:34 |
sarnold | grendal-prime: you can prepare a cloud-init configuration to do what needs to be done and use the standard server installer iso or cloud images etc https://ubuntu.com/server/docs/install/autoinstall-quickstart | 21:35 |
grendal-prime | sarnold, sooo i have an installation that i have removed all the bs from the 20.04 installtion media. For instance, i dont need snapd or cloudinit and i remove netplan and set up init.d/networking | 21:42 |
grendal-prime | i want to take this runnable working instance and write it to an iso with installer so when i need to do a bare metal install i dont have to go through all the removing of all that bs again. | 21:43 |
grendal-prime | but i dont want to use the gui toll because if im understanding this correctly it needs to run this process on the actual server itself. | 21:43 |
sarnold | it just seems like it'd be easier to write down what you did so it'd be easy to re-do it :) | 21:44 |
grendal-prime | I could have sworn there was a way to build install media with the current system. | 21:45 |
grendal-prime | agreed sarnold but sometimes things change. | 21:45 |
grendal-prime | I have a virtual system that i spin off clones from for virtual servers..but the vhosts i have to build...well i had to build 4 of them...i would have prefered to build one. make an iso...and build the other three and change their hostnames. | 21:46 |
grendal-prime | i thought it was genisoimage but i am just getting errors from that application | 21:47 |
sarnold | grendal-prime: hmm.. there's a p2v tool somewhere that'll let you turn a physical machine to a virtual machine, maybe that'd then let you use your tooling to get the rest of the way? | 21:54 |
TJ- | best way to do that kind of thing in my experience is to originally install to a COW file-system, then snapshot as required. When you want to make 'installers' either take a literal copy of the snapshot, or, script post-install steps based on the diff between the virgin install snapshot and a later one | 22:09 |
grendal-prime | this is just crazy | 22:35 |
grendal-prime | i cant believe this is this difficult | 22:35 |
sarnold | grendal-prime: there seems to be a split -- folks who want to package up a laptop as a server aim for docker so they can run what worked on their devs' laptops as containers in their kubernetes or something; and the other group of people use juju or ansible or puppet or chef or salt to script the deployments in the first place | 22:42 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!