deploy: 7055d3e0760b2b61f0dc0d5114a8bb0b20aded09

This commit is contained in:
davegallant
2021-11-15 00:57:13 +00:00
parent fb4a150ec4
commit 61966da535
2 changed files with 4 additions and 3 deletions

View File

@@ -174,11 +174,12 @@ sudo sysctl net.ipv6.conf.all.forwarding<span style=color:#555>=</span><span sty
sudo sed -i <span style=color:#c30>&#39;s/#net.ipv4.ip_forward=1/net.ipv4.ip_forward=1/g&#39;</span> /etc/sysctl.conf
sudo sed -i <span style=color:#c30>&#39;s/#net.ipv6.conf.all.forwarding=1/net.ipv6.conf.all.forwarding=1/g&#39;</span> /etc/sysctl.conf
</code></pre></div><h2 id=create-lxc-container>Create LXC container</h2>
<p>Create an LXC container in the Proxmox interface as you normally would. Remember to:</p>
<ul>
<li>Uncheck <code>unprivileged container</code></li>
<li>Use a LXC template (I chose a debian 11 template downloaded with <a href=https://pve.proxmox.com/wiki/Linux_Container#Create_container>pveam</a>)</li>
<li>Set swap to 0 under memory</li>
<li>Create the container</li>
<li>In memory, set swap to 0</li>
<li>Create and start the container</li>
</ul>
<h3 id=modify-container-config>Modify container config</h3>
<p>Now back on the host run <code>pct list</code> to determine what VMID it was given.</p>