/srv/irclogs.ubuntu.com/2020/02/11/#ubuntu-server.txt

cgiI 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:57
sarnoldmost people use rsync for this00:58
sarnoldbut git complicates things00:58
sarnoldwhat's wrong with git?00:58
cgisarnold, git complicates things too - bare/full/mirror/...00:59
cgirsync is slow01:00
cgisshfs is slow too01:00
sarnoldcgi: 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..01:05
=== kallesbar_ is now known as kallesbar
andolHmm, the most recent ubuntu/bionic64 Vagrant image appear to be a bit borky.06:28
andolhttps://paste.ubuntu.com/p/XNyJ8RnG3g/06:28
andolBest place to bring that up?06:28
=== cpaelzer__ is now known as cpaelzer
lordievaderGood morning07:14
=== cpaelzer__ is now known as cpaelzer
=== bpsecret- is now known as bpsecret
jamespagecoreycb: looking at improving the autopkgtest failures for ironic11:17
jamespagetests rather - to remove the failures :-)11:17
coreycbjamespage: ack, thanks13:10
arif-aliwhat'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:42
lotuspsychjearif-ali: see also #ubuntu+1 for 20.04 support13:45
tangarora_as per the documentation here: https://discourse.ubuntu.com/t/please-review-design-for-automated-server-installs/1192317:27
tangarora_I am submitting my suggestion here: plese make a tool or allow the subiquity to import preseed files.17:28
xibalbai 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:58
xibalbathats supposed to be a single quote at the end of the awk section20:59
xibalbaa function was a better method for this21:02
tangarora_yes a function is likely better... because you can pass args to a function.21:07
xibalbathought i could pass args to an alias but i think i can only pass them to the end21:12
xibalbalike 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 end21:12
sarnoldxibalba: 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 answer21:29
sdezielxibalba: I would suggest using "getent hosts" instead of grepping /etc/hosts, seems more robust22:01
xibalbathen grep off of the `getent hosts` output ?22:02
sdezielxibalba: scratch that, it ends up doing DNS requests22:02
xibalbayeh it's sad i use a hosts file22:02
sdezielxibalba: that said, by default "getent hosts" looks up /etc/hosts first then do DNS so it might still work for you22:04
xibalbathanks sdeziel i'll try it with that option and see how that works22:04
sdezielxibalba: 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 well22:05

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