mirror of
https://github.com/TrentSPalmer/trentdocs_website.git
synced 2025-07-10 05:13:15 -07:00
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:
@ -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/<container>.nspawn</code></p>
|
||||
<pre><code class="text"># /etc/systemd/nspawn/<container>.nspawn
|
||||
[Files]
|
||||
Bind=/var/cache/pacman/pkg
|
||||
|
||||
[Network]
|
||||
Bridge=br0
|
||||
</code></pre>
|
||||
|
||||
<pre><code class="text"># /etc/systemd/nspawn/<container>.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@<container>
|
||||
# to get a shell
|
||||
|
Reference in New Issue
Block a user