updated file name docs/serve_and_share_apps_from_your_phone_with_fdroid.md update

example configs docs/nspawn.md
This commit is contained in:
2017-06-28 23:20:33 -07:00
parent 438529ef1e
commit 9b33bab0eb
6 changed files with 28 additions and 7 deletions

View File

@ -194,12 +194,21 @@ cp /lib/systemd/system/systemd-nspawn@.service /etc/systemd/system/systemd-nspaw
you want to the <code>ExecStart</code> command.</p>
<p>Or create <code>/etc/systemd/nspawn/&lt;container&gt;.nspawn</code></p>
<pre><code class="text"># /etc/systemd/nspawn/&lt;container&gt;.nspawn
[Files]
Bind=/var/cache/pacman/pkg
[Network]
Bridge=br0
</code></pre>
<pre><code class="text"># /etc/systemd/nspawn/&lt;container&gt;.nspawn
[Files]
Bind=/var/cache/pacman/pkg
[Network]
VirtualEthernet=1 # this seems to be the default sometimes, though
</code></pre>
<pre><code class="bash"># in either case
systemctl start/enable systemd-nspawn@&lt;container&gt;
# to get a shell