mirror of
https://github.com/TrentSPalmer/trentdocs_website.git
synced 2025-08-01 13:33:57 -07:00
extend docs/misc_tips_troubleshooting.md
This commit is contained in:
@@ -170,6 +170,19 @@
|
||||
do lxc exec "${machine}" -- bash -c "cat /etc/apt/apt.conf.d/02*" ; done
|
||||
</code></pre>
|
||||
|
||||
<p>fish shell is actually a little bit cleaner</p>
|
||||
<pre><code class="fish">for machine in (lxc list | grep RUNNING | awk '{print $2}') ; \
|
||||
lxc exec $machine -- bash -c "cat /etc/apt/apt.conf.d/02*" ; end
|
||||
</code></pre>
|
||||
|
||||
<pre><code class="fish"># change all their time zones
|
||||
for machine in (lxc list | grep RUNNING | awk '{print $2}') ; \
|
||||
lxc exec $machine -- bash -c "timedatectl set-timezone America/Los_Angeles" ; end
|
||||
# check to see if anyone is logged in before rebooting
|
||||
for machine in (lxc list | grep RUNNING | awk '{print $2}') ; echo ; \
|
||||
echo $machine ; lxc exec $machine -- bash -c "who" ; end
|
||||
</code></pre>
|
||||
|
||||
<h2 id="ubuntu-mate-welcome-center-doesnt-work-some-for-some-repos">Ubuntu-Mate-Welcome-Center doesn't work some for some repos</h2>
|
||||
<p>Perhaps your apt-cacher-ng proxy server isn't configured to allow
|
||||
traffic through from https sources. Make sure the following is
|
||||
|
Reference in New Issue
Block a user