[00:57] <cgi> I am looking for a solution for syncing a remote webserver directory to my desktop so that I can edit it, and it automatically syncs. The remote directory is a git repo. sshfs is too slow.
[00:58] <sarnold> most people use rsync for this
[00:58] <sarnold> but git complicates things
[00:58] <sarnold> what's wrong with git?
[00:59] <cgi> sarnold, git complicates things too - bare/full/mirror/...
[01:00] <cgi> rsync is slow
[01:00] <cgi> sshfs is slow too
[01:05] <sarnold> cgi: you could also use zfs datasets and just send the diffs between the systems; that would save rsync having to look into all million files..
[06:28] <andol> Hmm, the most recent ubuntu/bionic64 Vagrant image appear to be a bit borky.
[06:28] <andol> https://paste.ubuntu.com/p/XNyJ8RnG3g/
[06:28] <andol> Best place to bring that up?
[07:14] <lordievader> Good morning
[11:17] <jamespage> coreycb: looking at improving the autopkgtest failures for ironic
[11:17] <jamespage> tests rather - to remove the failures :-)
[13:10] <coreycb> jamespage: ack, thanks
[13:42] <arif-ali> what's the current state of focal for raspberry pi, I ran the daily from iso.qa.u.c, and setting up a bridge using netplan doesn't seem to be working after reboot, is that a known issue? Is this the best channel for this?
[13:45] <lotuspsychje> arif-ali: see also #ubuntu+1 for 20.04 support
[17:27] <tangarora_> as per the documentation here: https://discourse.ubuntu.com/t/please-review-design-for-automated-server-installs/11923
[17:28] <tangarora_> I am submitting my suggestion here: plese make a tool or allow the subiquity to import preseed files.
[20:58] <xibalba> i want to make an alias that i can pass a string into, but struggling w/the syntax. any bash ninjas know how i can foix this --- alias pingasite="grep -i \"$1\" /etc/hosts | awk '{print $2}" | xargs fping"
[20:59] <xibalba> thats supposed to be a single quote at the end of the awk section
[21:02] <xibalba> a function was a better method for this
[21:07] <tangarora_> yes a function is likely better... because you can pass args to a function.
[21:12] <xibalba> thought i could pass args to an alias but i think i can only pass them to the end
[21:12] <xibalba> like the following, alias findanode='node-command --list-nodes|grep -A 1 -i' , but i guess i'm not passing a variable my search term just comes at the end
[21:29] <sarnold> xibalba: yeah I think aliases only let you add things to the end; I remember fighting this a few months back and coming to the conclusion that a function was the better answer
[22:01] <sdeziel> xibalba: I would suggest using "getent hosts" instead of grepping /etc/hosts, seems more robust
[22:02] <xibalba> then grep off of the `getent hosts` output ?
[22:02] <sdeziel> xibalba: scratch that, it ends up doing DNS requests
[22:02] <xibalba> yeh it's sad i use a hosts file
[22:04] <sdeziel> xibalba: that said, by default "getent hosts" looks up /etc/hosts first then do DNS so it might still work for you
[22:04] <xibalba> thanks sdeziel i'll try it with that option and see how that works
[22:05] <sdeziel> xibalba: the advantage is that you will only get a single result for a name that matches in full, while grep would have match on partial strings as well