mirror of
https://github.com/davegallant/davegallant.github.io.git
synced 2025-08-14 04:10:19 +00:00
deploy: 7055d3e0760b2b61f0dc0d5114a8bb0b20aded09
This commit is contained in:
@@ -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>'s/#net.ipv4.ip_forward=1/net.ipv4.ip_forward=1/g'</span> /etc/sysctl.conf
|
||||
sudo sed -i <span style=color:#c30>'s/#net.ipv6.conf.all.forwarding=1/net.ipv6.conf.all.forwarding=1/g'</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>
|
||||
|
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user