User Tools

Site Tools


proxmox

This is an old revision of the document!


Descargar un template

Seleccionamos: datacenter / dominio / local Luego la pestaña Content

Template

Seleccionamos la imagen que queramos descargar:

Template

Nos descargamos la imagen que necesitemos:

 Template

Sistema

Instalar el paquete:

module-init-tools

para tener por ejemplo lsmod

Comandos

Arrancar contenedor:

# vzctl start 103
Starting container ...
Container is mounted
Setting CPU units: 1000
Setting CPUs: 1
Configure veth devices: veth103.0 
Adding interface veth103.0 to bridge vmbr0 on CT0 for CT103

Conectar a la consola por ssh desde el servidor de proxmox:

# vzctl enter 103
entered into CT 103
root@vpn1escp:/# 

Cambiar IP

Depnde contenedor, creamos fichero /etc/network/interfaces.tail o editamos interfaces

allow-hotplug eth0
auto eth0
iface eth0 inet static
address 192.168.1.104
netmask 255.255.255.0
gateway 192.168.1.1

allow-hotplug eth1
auto eth1
iface eth1 inet static
address 10.139.67.104
netmask 255.255.255.224

up route add -net 10.0.0.0 netmask 255.0.0.0 gw 10.139.67.97 dev eth1

Ubicació màquines

root@proxmoxescorxador:/var/lib/vz/private/102/var/lib/mldonkey/incoming/files#

NFS

Hay que habilitar el NFS al contenedor:

# vzctl set 102  --features "nfs:on" --save
proxmox.1372842169.txt.gz · Last modified: 2015/04/13 20:19 (external edit)