Difference between revisions of "Talk:Slackware template creation"

From OpenVZ Virtuozzo Containers Wiki
Jump to: navigation, search
(Described why I removed setting of VE IP, hostname and OSTEMPLATE from VE IP)
Line 5: Line 5:
 
Actually, since you do not run anything inside the temporary VE (777) which requires an IP address, you can omit the step of setting VE's OSTEMPLATE, an IP address and a hostname. This was done for Debian specifically because you have to run <tt>apt update</tt> and <tt>apt upgrade</tt> commands, which requires network to be working. So you can edit that out to simplify things. I have not done it yet because you might have other reasons to leave it. --[[User:Kir|Kir]] 15:43, 6 June 2006 (EDT)
 
Actually, since you do not run anything inside the temporary VE (777) which requires an IP address, you can omit the step of setting VE's OSTEMPLATE, an IP address and a hostname. This was done for Debian specifically because you have to run <tt>apt update</tt> and <tt>apt upgrade</tt> commands, which requires network to be working. So you can edit that out to simplify things. I have not done it yet because you might have other reasons to leave it. --[[User:Kir|Kir]] 15:43, 6 June 2006 (EDT)
 
: I have actually removed these settings from the text, since it looks like they are not needed, and you forgot to run <tt>vzctl set --ipdel</tt> so OS template cache ends up with the IP address which is wrong. So I followed the easy path and instead of adding the procedure of removing VE IP I just removed the adding of it! Also note that setting OSTEMPLATE is actually needed for <tt>vzctl set --ipadd</tt> to work. --[[User:Kir|Kir]] 16:15, 6 June 2006 (EDT)
 
: I have actually removed these settings from the text, since it looks like they are not needed, and you forgot to run <tt>vzctl set --ipdel</tt> so OS template cache ends up with the IP address which is wrong. So I followed the easy path and instead of adding the procedure of removing VE IP I just removed the adding of it! Also note that setting OSTEMPLATE is actually needed for <tt>vzctl set --ipadd</tt> to work. --[[User:Kir|Kir]] 16:15, 6 June 2006 (EDT)
 +
 +
== Typo + IPtables ==
 +
I corrected a typo.
 +
Also, I forgot to mention that IPtables needs modules from the running kernel in the VE to work, so
 +
before cache creation or after VE creation the /lib/modules should be created with the needed iptables modules. --[[User:Scythe|Scythe]] 22:54, 6 June 2006 (CET)

Revision as of 20:54, 6 June 2006

klogd

I have added a note that klogd is needed sometimes. --Kir 15:43, 6 June 2006 (EDT)

VE IP

Actually, since you do not run anything inside the temporary VE (777) which requires an IP address, you can omit the step of setting VE's OSTEMPLATE, an IP address and a hostname. This was done for Debian specifically because you have to run apt update and apt upgrade commands, which requires network to be working. So you can edit that out to simplify things. I have not done it yet because you might have other reasons to leave it. --Kir 15:43, 6 June 2006 (EDT)

I have actually removed these settings from the text, since it looks like they are not needed, and you forgot to run vzctl set --ipdel so OS template cache ends up with the IP address which is wrong. So I followed the easy path and instead of adding the procedure of removing VE IP I just removed the adding of it! Also note that setting OSTEMPLATE is actually needed for vzctl set --ipadd to work. --Kir 16:15, 6 June 2006 (EDT)

Typo + IPtables

I corrected a typo. Also, I forgot to mention that IPtables needs modules from the running kernel in the VE to work, so before cache creation or after VE creation the /lib/modules should be created with the needed iptables modules. --Scythe 22:54, 6 June 2006 (CET)