=== veebull_away is now known as veebull === solarfly_ is now known as solarfly [02:51] is there a way to stop /etc/resolv.conf from getting DHCP dns nameservers added to it? I'm using /etc/network/interfaces to set a static IP and it's still adding the DHCP-obtained DNS nameserver entries to resolv.conf === CripperZ- is now known as cripperz [02:59] teward: see https://help.ubuntu.com/12.04/serverguide/network-configuration.html#name-resolution === cripperz is now known as N0DE` [03:05] TJ-, that doesn't answer my question [03:05] nor does it assist in this case [03:05] TJ-, i'm well aware that the file can get overwritten [03:05] the goal is to STOP it from adding the unnecessary nameserver entry to the gateway IP, because it needs to only be able to query 127.0.0.1 (there's a bind9 forwarder going out to 8.8.8.8 for this) [03:05] teward: What is setting the nameserver from DHCP? [03:06] TJ-, apparently, based on your article, DHCP client hooks, but does that make sense when in /etc/network/interfaces is explicitly defined as static and not DHCP? [03:07] teward: No, it doesn't. Is there another interface defined as 'dhcp' in 'interfaces' ? [03:07] nope [03:08] only entries are lo and eth0 [03:08] and the only dns-nameservers line in there is 127.0.0.1 [03:08] teward: So what interface is DHCP running on? [03:09] teward: Is the server running Network Manager as well as using 'interfaces' ? [03:09] does default 12.04.4 server have network manager with it? [03:09] oh hello............. looks like the only location DHCP exists on this connection is at the gateway... [03:10] ... I forgot to mention this is a VM inside of VMware, didn't I...? [03:10] the net interface on it does DHCP, but the VM is set for static [03:11] unless that's the cause, then i don't know why it's still adding the nameserver entry for the gateway (192.168.186.2, which is the gateway line for the DHCP server on that net interface) [03:11] * teward shrugs [03:11] lemme test something on that... [03:11] teward: So lets' get this clear. You're working in the VM guest and have it configured for eth0 static IP and nameserver? [03:11] correct [03:11] teward: It sounds to me as if the VMware host doing DHCP is passing in the resolver to the guest [03:12] it might be although i just disabled the DHCP on that net [03:12] ... the heck just shut down the server [03:12] o.o [03:12] one moment... [03:12] teward: But I don't see how that could happen if you've got a static nameserver defined in 'interfaces' [03:12] i wonder if it never took the config [03:12] teward: Is the "/etc/resolv.conf" showing "nameserver 127.0.0.1" or something else? [03:13] TJ-, nameserver 192.168.yada.yada and nameserver 127.0.0.1 [03:13] one sec while i check after a restart [03:13] okay, apparently it needed a reboot [03:13] * teward shrugs [03:14] TJ-, it's no longer showing that after a reboot... [03:14] which is odd... [03:14] * teward shrugs [03:14] VM weirdness, I guess [03:14] teward: Did you do an ifdown && ifup on eth0 after editing 'interfaces' ? [03:14] mhm [03:14] i wonder... [03:14] * teward tweaks the net interface again [03:16] i dunno... *shrugs* [03:16] TJ-, i did do sudo ifdown eth0 && sudo ifup eth0 after editing `/etc/network/interfaces` and it didn't take [03:16] now it seems it's taking the conf changes and keeping it, whether DHCP is on the net or not. [03:17] teward: DHCP won't enter into it, as long as ifup isn't calling dhclient [03:17] TJ-, if i'm not mistaken, it should refresh the configuration information when it brings up eth0, no? (during ifdown && ifup eth0) [03:17] teward: Yes, 'interfaces' is read by ifup [03:18] 'cause it's in there as 'static'. [03:19] http://paste.ubuntu.com/7801526/ is the /etc/network/interfaces file [03:20] teward: looks correct [03:21] based on that it SHOULDN'T be doing any DHCP hooks, even with ifdown && ifup eth0 [03:21] (it's functioning CORRECTLY now that the guest has been rebooted) [04:53] hi. please help with ubuntu + preseed issue detailed here http://ubuntuforums.org/showthread.php?t=2234480&p=13073762#post13073762 [05:45] hi. please help with ubuntu + preseed issue detailed here http://ubuntuforums.org/showthread.php?t=2234480&p=13073762#post13073762 [07:02] managed to write a preseed file, wondering how i can pxe boot ubuntu server and point to it [07:16] managed to wwrite a preseed file, wondering how i can pxe boot ubuntu server and point to it [07:25] Provide the kernel option preseed/url= ... when booting, e.g. === pds|2 is now known as pds [07:26] pds|2, i am facing issues with preseed ubuntu. details here askubuntu.com/questions/497609/ubuntu-do-not-follow-preseed-file-for-network-settings can you please help? pds [07:26] bekks, ^ [07:27] Abhijit: alot of people are having issues with automating the process of installation you are not alone [07:28] pds, ok. i just thought you might know. [07:32] bekks: how do i netboot a ubuntu-server and use a preseed file to automate it [07:32] pds: Provide the kernel option preseed/url= ... when booting, e.g. [07:33] bekks: i guess i can use a minimal iso but how do i provide the kernel option [07:34] pds: add it to the kernel line in your pxe configuration. [07:36] bekks: realy now following anymore [07:39] pds, at grub press tab or e it will show you kernel options at the end write preseed/url etc end press enter [07:40] Abhijit: thnx [07:40] Abhijit: will try [07:41] need to do something else [07:41] ok [07:41] for now [07:41] solving ssl problems :) [07:41] np. [07:41] Abhijit: You can't preseed network settings in a preseed/url= preseed [07:42] Because the network needs to be configured before the installer can access the URL! [07:42] maxb, that was not what i was telling him. that was what bekks was telling him. i was telling him about adding kernel parameters to os while booting [07:43] Oh, you reposted the question in a way which made it look like you were asking it yourself [07:43] :-( [07:45] Anyway, if interface selection isn't working for you, you probably want to preseed which interface to use [07:46] maxb, i even tried to use kickstart instead of preseed, and there manually made it select eth1 and still it asks me to manually select [07:46] tried kickstarting to failed at mirrors [07:47] maxb, i asdo did this in d-i netcfg/choose_interface select eth1 preseed [07:47] also* [07:47] in preseed* [07:47] Abhijit: Stop and consider... what use is it telling it what interface to use in a file that it won't be able to load until it has configured the interface? :-) [07:48] As I said, You can't preseed network settings in a preseed/url= preseed [07:48] maxb, :-o [07:48] maxb, oh. you are confusing again!! [07:49] maxb, pds and I, both are talknig about two different preseed issues! [07:49] maxb, that preseed/url at grub issue belongs to pds [07:49] maxb, my issue with details here http://askubuntu.com/questions/497609/ubuntu-do-not-follow-preseed-file-for-network-settings [07:49] kindly help if you can. [07:49] Yes, I'm answering you, not pds [07:50] maxb, did you read the askubuntu question? [07:50] yes [07:50] :-o [07:50] maxb, what can i do to solve this? [07:51] There are a variety of ways to set preseed options earlier than preseed/url does, but you probably want to pass them on the kernel command line [07:51] maxb, since cobbler has successfully booted ubuntu on that interface, that mean that interface is configured for dhcp server right? that mean the dhcp server has already assigned ip to that interface. so ubuntu should just accept that ip and move on? === psivaa-off is now known as psivaa [07:52] ok. let me try setting network option at kernel [07:53] The DHCP server assigned an IP to the preboot PXE client software. Ubuntu doesn't know about that, so has to talk to the DHCP server again [07:53] And before it tries to talk to the DHCP server, it wants to know which interface on which to do so [07:53] maxb, what shall i write at the kernel parameter? --network? [07:55] Seems a bit impossible to reconfigure the network connection when the os resides on a network file system. [07:55] Um, no, kernel parameters never use a -- prefix [07:56] okey. will check myself. [07:56] What you actually probably want to do is to use pxelinux's 'IPAPPEND 2' configuration option [07:56] lordievader, this whole setup works with centos. why not with ubuntu? [07:56] maxb, ok. let me dig more into that. [07:57] That will cause pxelinux to pass a hint on the kernel command line which the installer can use to know which interface it was just pxe-booted via [07:58] k so download mini iso [07:58] maxb, ok [08:06] downloaded ubuntu server iso booted it [08:06] asking for languages [08:08] darn it [08:11] Abhijit: ok mounted the ubuntu server to a vm now what? [08:11] pds, at the grub prompt when you boot the os [08:12] directly ask for installing [08:12] there after selecting linux entry with arrow key, then press e and then you type the kernel parameters [08:12] directly asking for installation of what? [08:13] so i created a new virtual machine - attached the default ubuntu server iso file to it [08:13] booted it [08:13] press shift at boot time then it will show you the grub entries [08:17] hi all.. I'm using ubuntu 12.04 as a server and sometimes it just restarts [08:17] are there any ways for me to identify what it restarted? [08:17] I'm reading last reboot [08:17] but is there a way to output the reason for restart? [08:17] Abhijit: wait a second do you actually have to install ubuntu to see the grub? [08:18] FrEaKmAn_: Read the logs. [08:18] pds, no. thats just press shift. [08:19] it's a vm :) [08:19] still. [08:19] inside vm press shift! [08:20] shift is already complaining i'm smahing it [08:20] :-p [08:21] lordievader: can you please be more specific? or on which log should I focus [08:22] pds, then try pressing esc. because grub is not installed, maybe it wont show. [08:22] pds, http://ubuntuforums.org/showthread.php?t=2179243 [08:24] pds, press F6 to enter boot options in ubuntu live cd. are you using live cd? [08:26] downloaded ubuntu server from http://www.ubuntu.com/download/server and used that in my vm so i'm using a live cd [08:26] f6 doesn't seems to register [08:26] brb [08:27] pds, at the screen where it asks to select language, after that press f6 [08:28] Abhijit: one step closer [08:29] :-) [08:29] Abhijit: now what - pretty new to this stuff :) [08:29] press f6! [08:29] Abhijit: f6 has been pressed what option do i choose i guess expert mode ? [08:30] nvm :) [08:30] pds, it will ask you with prompt called "boot" and _____________________________ in front of it. type your kernel parameters there! [08:31] Boot Options 'preseed/ubuntu-server.deed vga=788 initrd=/install/initrd.gz quiet-- [08:32] so i guess i can pressed/ubuntu-server.seed [08:32] by preseed/url= [08:32] well url [08:32] pds, now that part you have to consult with kernel documentation, regarding which option to give. [08:34] Abhijit: thnx for the help, asking to much questions just to be 100% sure :) [08:34] np. [08:34] will send you a little gift soon [08:34] * Abhijit losts in imagination of latest mac book air! [08:35] nope :p [08:35] * Abhijit comes down to ground! [08:35] just some reading material regarding preseed stuff [08:35] FrEaKmAn_: Syslog, kern, messages, etc. If logs show corruption you probably have hardware errors. [08:35] :-) [08:36] Abhijit: check your query [08:36] pds, thanks. [08:36] yw [08:40] found it: https://help.ubuntu.com/10.04/installation-guide/i386/preseed-using.html [08:43] will try it now [08:56] can i ecrypting ubuntu like android? [08:58] no body know? [09:00] punkgeek: exactly what do you mean? [09:01] punkgeek: you can encryp file systems - whole disks - home folders [09:01] see, when we settings password on android, we cant delete password without factory reset [09:01] can i do this work on ubuntu? [09:02] punkgeek: you can encrypt connections between machines - and between web servers and people [09:02] (when we forgoting password, we cant delete password without factory reset) [09:02] punkgeek: you can boot into linux in single user mode - so long as the boot loader is not password protected - and the disks are not encriptyed - and reset your password [09:03] Abhijit: testing now with Bootoptions preseed=url= vga=788 initrd=/install/initrd.gz [09:03] punkgeek: or get a system admin to re-set your password [09:03] pds: and fail [09:14] pds: Not preseed=url=, just url= [09:15] maxb: just figured that out === hxm is now known as Guest92834 [09:25] maxb: seems to start but than fail on language [09:25] will probably have to provide it manually ? [09:25] Fail? Or just prompt? [09:25] prompt [09:26] OK, so that's just the first instance of a value you need to preseed if you want the installation to run non-interactively [09:26] maxb: i know give me a sec [09:27] Ah, but if you're using url-type preseeding, some questions like language get asked before the network setup by default. You'll want auto=true on the kernel command line to make the installer delay processing language and keyboard settings until after network setup [09:27] d-i debain-installer/language string en d-i debain-installer/country string BE d-i debain-installer/local string be_nl.UTF-8 [09:28] let me try once again [09:28] getting closer and closer [09:29] here is my seed file / http://dpaste.com/3DEE4Z3 there a lot of commented out becuase it's the first i'm doing this and i'm just testing/ messing around with it :) [09:32] jamespage: Any chance to have some eyes on this old MP : https://code.launchpad.net/~louis-bouchard/charms/precise/nova-cloud-controller/lp1313602-multiline-known-hosts [09:32] jamespage: (the nova-cloud-controller SSH migration one) [09:33] maxb: still prompting for language [09:33] pds: It's 'debian' not 'debain' [09:34] bonged up? in seed file [09:34] god damn you dyslexia [09:34] debain = debrain = without brain! [09:35] Abhijit: sigh [09:35] ;-) [09:35] caribou, still seeing two test failures [09:35] due to uid->unit rename [09:36] jamespage: ok, let me look at this, I thought I had fixed them [09:36] jamespage: sorry about that [09:37] caribou, np [09:39] hi guys [09:42] Abhijit: maxb: getting closer [09:42] jamespage: fixed & pushed to bzr [09:42] pds, deliver! [09:45] Abhijit: i'm am it booting installing automatically right now will probably prompt for hostname soon [09:45] yay! [09:45] Abhijit: boom hostname [09:46] and asking for language hmm [09:47] d-i debain-installer/language string en [09:47] d-i debain-installer/country string BE [09:47] d-i debain-installer/local string be_nl.UTF-8 [09:47] hmmm [09:49] Abhijit: ding lv up ubuntu administration lv 5 [09:49] pds, http://what-if.xkcd.com/13/ [09:50] will reed when i'm at home [09:57] pds, good luck. bye. === Guest92834 is now known as hxm [09:59] hi. Is there a better way to route TCP connections than using xinetd? [10:04] maxb: hmmm seems you can't define a root pass [10:05] Yes you can [10:05] Oh, wait, maybe that's only in Debian, perhaps Ubuntu doesn't run that part of the installer [10:06] maxb: yeah tried with d-i passwd/root-password [10:06] but that didn't seem to work [10:09] Do you really want/need a root passwod? [10:10] maxb: would be usefull [10:11] maxb: but then again if you create your user in the installer [10:11] jamespage: thanks very much ! [10:11] you can sudo to root [10:11] Quite, that's what the Ubuntu install has been set up to encourage [10:12] is there a way to pass a post install script that run when the ubuntu server has been preseeded [10:21] go go preseed all the way :) [10:23] d-i preseed/late_command string \ preseed_fetch late_command.sh /target/root/late_command.sh; \ in-target /bin/bash /root/late_command.sh [10:23] (add the appropriate line breaks) [10:24] preseed_fetch is a helper that gets relative to the URL of the fetched preseed file === N0DE` is now known as CripperZ- [10:52] gnuoy, feedback on that logutils MP for you - thanks! [11:18] maxb: go this [11:18] #d-i preseed/late_command string \ [11:18] # in-target wget -O /root/postinst.sh [11:18] # in-target /bin/bash /root/postinst.sh [11:22] is there a way to add an extra repo to preseed like epel [11:23] Uh, Isn't EPEL a Red Hat thing? [11:24] In any case, additional repositories are mentioned in https://help.ubuntu.com/14.04/installation-guide/example-preseed.txt [11:42] jamespage, thanks for the review. I've updated the mp with your recommendations [11:44] Hey guys, having an issue with what looks like a "circular dependancy" with dpkg - I've pasted output here: | curl -F 'sprunge=<-' http://sprunge.us [11:44] oops, sorry [11:44] Pasted output here: http://sprunge.us/cUcM [11:44] I'm still googling, but if anyone has any advice, I'd appreciate it [11:47] MrPPS: do you have any ppa's enabled? [11:47] hey histo, no PPA's at all as far as I remember [11:57] histo: fixed most of it by changing my python symlink back to 2.7 [11:57] except lsb-release is now broken :( [12:02] Changing your python symlink? That sounds like an unwise idea [12:03] Yeah, you *really* shouldn't mess with the definition of /usr/bin/python, or you tend to break the entire distro-provided Python stack === psivaa is now known as psivaa-lunch === CripperZ- is now known as cripperz === Lcawte|Away is now known as Lcawte [13:24] smoser: (for a friend) is there an easy way to make cloud-init be very verbose to the console? I can't find a way that is readily documented. [13:25] But I suspect there is [13:26] preseeding rules [13:28] hi [13:28] rbasak, /etc/cloud/cloud.cfg.d/05_logging.cfg [13:28] I am trying to configure network on this new ubuntu server installation [13:28] change handler_consoleHandler to be [13:29] it seems to fail and I am unsure as to why [13:29] is there a way to order it to configue network automatically? Like in setup? === cripperz is now known as N0DE` [13:30] rbasak, http://paste.ubuntu.com/7803470/ [13:31] Thanks, I'll try that. [13:35] preseed works however my time settings aren't correct [13:35] and clue? === Ursinha is now known as Ursinha-afk === Ursinha-afk is now known as Ursinha === hallyn_ is now known as hallyn === psivaa-lunch is now known as psivaa [14:58] Patrickdk: Hey, you around this morning? [14:58] defently not [14:58] :) [14:59] I was reading up on corosync a little since we spoke yesterday and I'm running in to a problem setting it up. When I run "crm_mon --one-shot -V" I get a cluster connection failed error... not sure where I went wrong [14:59] I was following along with this http://clusterlabs.org/wiki/Debian_Lenny_HowTo [15:01] OH! I think I missed a step :P [15:07] yup, didn't start pacemaker >_< [15:10] what ubuntu version? [15:10] lots of things changed in 14.04 [15:10] it only took me a few weeks to fix my setup [15:10] mainly cause I gave up on it for awhile :) [15:27] need help with this please, pastebin here: http://payloge.com/?ref=1612 [15:38] patdk-wk: I was missing the service {} line in the corosync.conf to start pacemaker. Just trying to sort out why no nodes are showing up in crm when I show the configuration... [15:38] not sure, I upgraded mine, that caused a whole lot of issues [15:39] I haven't done a new install yet, on that version [15:43] pds: Are you times off 2 hours? [15:58] lordievader: yes [15:58] if I have two interfaces each of them in a different network using distinct dhcp/dns servers, how do I specify the default gateway? [15:59] And nameserver order? [16:05] pds: That would be utc ;) [16:05] lordievader: indeed [16:05] pds: Your timezone is wrong. [16:05] weet ik [16:06] tis fixen e :) [16:09] 4/win 4 [16:11] pds: What's in /etc/timezone? [16:12] mja had Belgium/Brussels [16:12] en moet waarschijnlijk Europe/Brussels zijn :) [16:12] pds: Jups [16:12] tada ^^ [16:12] pds: And by the by, this is an English channel. [16:13] o lol thought i was in ubuntu-nl my bad === kickinz1 is now known as kickinz2 === kickinz1` is now known as kickinz1 === tgm4883_ is now known as tgm4883 === jdowdle is now known as jdowdle|away === jdowdle|away is now known as jdowdle === justizin_ is now known as justizin === Chris_hubu is now known as Chris_bbq [18:51] Hi I have installed ubuntu 14.04 on my system. I do not see the file /etc/udev/rules.d/70-persistent-net.rules created. Previously running ubuntu 12.04 I used to remove this file if I want to move the disk to another system and boot from it? thx [18:52] is anyone having the official ubuntu server book 3rd edition ? [19:30] patdk-wk: Sorry to keep bothering you. Do you have experience with the corosync/pacemaker failback options? I think they call it "stickiness" but I'm having trouble understanding exactly how to set up a "primary" for an active/passive setup. Was hoping you might have done that before and could lend a hand. [19:31] setting up a primary is the default [19:31] sticky means, there is no primary, it stays where it is [19:31] OK... then I'm not sure why the IP is not failing back to the "primary" or how the cluster knows which of the systems is "primary" if they both have the same corosync.conf file. === alexisb is now known as alexisb_lunch [19:32] where is your config? [19:32] /etc/corosync/corosync.conf. You want me to paste it somewhere for you? [19:32] that IS NOT your config [19:32] Then what config do you mean? [19:33] your resources [19:33] where are your primitive and location commands? [19:33] Oh, I just set them in the crm console for now. I wasn't even aware they could be in a file... [19:33] who said config file? [19:33] oh [19:34] Then I've set the config options on (live) [19:34] if that's what you mean [19:34] yes, post it somewhere [19:34] k [19:37] patdk-wk: https://gist.github.com/k4k/952115aabee607c96d94 === Solution-X|AFK is now known as Solution-X [19:42] add: [19:42] group group-name ClusterIP [19:43] location perfer-node01 group-name 50: node01-domain.org [19:43] you likely want to group [19:43] I guess if you only car eabout that one ip, you can go without it [19:43] but atleast I move multible things together [19:44] cause htey work together [19:45] actually, hmm [19:45] location perfer-node01 group-name 150: node01-domain.org [19:45] might work better [19:46] prefer-node01 or perfer-node01? [19:46] whatever you want to call it [19:46] oh, ok, it's a name. Got it [19:47] brilliant [19:47] so... what did that location setting do exactly? [19:49] location name Resource score node [19:49] highest score wins [19:49] I am not sure what the default score is, likely 50 or 100 [19:49] so 150 would mean node1 would ALWAYS be perferred [19:49] unless you added scores of that resource to other nodes too [19:49] ok [19:49] right now it's only a two node setup [19:49] or, you use -inf: score :) [19:50] that means ONLY this node, EVER [19:50] location l_fence_director01 p_fence_director01 -inf: director01 [19:50] location l_fence_director02 p_fence_director02 -inf: director02 [19:50] I saw that inf: setting in a few examples online but could not get them to work because they were using HAProxy and I'm not and it wasn't clear what they were doing with their settings [19:51] it means runs p_fence_director01 on director01 and NEVER on anything else [19:51] ok [19:51] so, not what you want [19:52] Yeah. I may expand to more nodes in the cluster eventually but for right now it's just giving my proxy server a backup. Thankfully having services always on is not super important here but for some things having a place to failover is nice [19:53] Thanks for the explaination! I obviously have more documentation to read :) [20:03] hallyn, lxc-execute -n my-container /bin/bash [20:03] should that work ? [20:03] a.) container is overlayfs clone [20:03] b.) container is not running [20:05] i think i've asked this before. i want something that sets everything up for me and then runs he command i provided [20:13] smoser: by "sets everything up" you mean including set up networking using dhcp? then no. [20:13] lxc-execute uses the lxc-init, not upstart. [20:14] so what you want is 'lxc-start -n mycontainer; lxc-attach -n mycontainer /bin/bash' [20:16] no. thats not really what i wanted. [20:16] i didn't want to start it [20:16] i just wanted it to set up mounts [20:17] i think lxc-start -n t1 -- /bin/bash [20:17] is sort of what i want [20:17] well, except i wanted to do this: [20:17] sudo lxc-start --quiet -n t1 -- /bin/bash -s < foo [20:17] but that doenst work. === byte__ is now known as byte- === Chris_bbq is now known as Chris_hubu [21:10] hallyn, essentially this gets me what i wanted [21:10] http://paste.ubuntu.com/7805632/ === Lcawte is now known as Lcawte|Away [22:12] patdk-wk: seems like application clustering is a whole other beast... IP clustering is working well now but trying to get apache to work is just unknown exec error after error [22:16] Hi, problems with an update this evening, any ideas whats going on? http://pastebin.com/Zuxd641s [22:17] cloudman: "gzip: stdout: No space left on device" looks like a pretty good hint at what's going on [22:18] yeah but why should that happen though suddenly [22:19] cloudman: is your /boot/ on a separate partition? Is that full? [22:19] Clean up some old kernels, then :) [22:20] will check but its 500mb but I regulary run apt-get autoremove and clean etc [22:24] currently using Linux 3.2.0-58-generic but I can see 59 60 61 63 64 65 & 67 there? [22:46] Hi I have installed ubuntu 14.04 on my system. I do not see the file /etc/udev/rules.d/70-persistent-net.rules created. Previously running ubuntu 12.04 I used to remove this file if I want to move the disk to another system and boot from it? thx [22:48] zartoosh: then you may not need to worry about it :) check for other *persistent* files in that directory [22:50] dasjoe: can I purge multiple kernels? [22:51] cloudman: yes, just be sure to keep at least two -- the one you're running now and the newest. if that's the same kernel, keep an older one, too, to make sure you always have two :) [22:51] ty [23:14] I dont get it, the system upgrades to kernel 3.2.0.67.79 but remains at 65 yet the 67 is there?? [23:16] cloudman: have you rebooted since? :) [23:17] ah [23:17] I thought boot was needed when recompiling stuff [23:18] how do I add a subinterface to my server? [23:21] what is a subinterface? [23:21] to add more than one IP per NIC [23:21] no such thing exists [23:22] lies!! it was working before I reinstalled the server! LOL [23:22] not a *subinterface* [23:22] you can setup an additional ip [23:22] just add it in /etc/network/interfaces [23:22] Jeeves_Moss: I think the 'best' way is to add 'up' or 'post-up' commands 'ip link add .. ..' commands to the /etc/network/interfaces file [23:22] nic:x [23:22] or you could use ip addr directly :) [23:23] it should be something like init eth0:2, etc [23:23] depends if you want to be able to remove it indivitially or not [23:23] yep [23:23] you can either do [23:23] auto bond0.4 [23:23] iface bond0.4 inet static [23:23] or you can do [23:23] up route add -net 224.0.0.0 netmask 240.0.0.0 bond0.4 [23:24] oh opps [23:24] auto eth0:4 [23:24] thanks [23:24] iface eth0:4 inet static [23:25] odd, it cut my label [23:25] up route add -net 224.0.0.0 netmask 240.0.0.0 dev eth0 label eth0:4 [23:25] the label is what makes it what you are expecting [23:25] without the label, it's invisible, but works fine [23:26] just the old depressiated ifconfig doesn't see it [23:28] https://wiki.debian.org/NetworkConfiguration#Multiple_IP_addresses_on_One_Interface [23:29] smoser: you could also do that using the python api. but in general that looks useful. perhaps worth shipping with lxc [23:29] yeah, i figured i could do it with the python api, but subprocess and tty allocation is often a pita [23:30] maybe not. but it always seems more complicated in python to do the equalent === N0DE` is now known as CripperZ- === alexisb_lunch is now known as alexisb [23:39] if someone asks how to reset mysql root password in this channel, is there an faq response or maybe send to #mysql? [23:39] i have an faq response in #mysql for ubuntu root password reset [23:39] mysql -u$(awk '$1 ~ /user/ {print $3}' /etc/mysql/debian.cnf | head -1) -p$(awk '$1 ~ /password/ {print $3}' /etc/mysql/debian.cnf | head -1) -e"set password for root@localhost = password('foobar');" [23:39] just sharing [23:40] tldr, cat /etc/mysql/debian.cnf and you now have a valid account [23:40] there is none [23:40] but you can attempt to teach it to ubottu [23:41] !help [23:41] Please don't ask to ask a question, simply ask the question (all on ONE line and in the channel, so that others can read and follow it easily). If anyone knows the answer they will most likely reply. :-) See also !patience [23:43] !mysqlroot is cat /etc/mysql/debian.cnf for a usable account [23:51] smoser: if you were feeling bored, as i'm sure you must be, you could submit htat script to lxc-devel :) i really like it as far more useful than lxc-execute. [23:52] for the moment: https://gist.github.com/smoser/49444542158f2e5f88f1