opennebula
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| opennebula [2022/01/14 09:18] – creado victor | opennebula [2022/01/14 21:13] (current) – [Instalación Frontend] victor | ||
|---|---|---|---|
| Line 23: | Line 23: | ||
| - enp2s0 | - enp2s0 | ||
| </ | </ | ||
| - | ==== Creacion | + | ==== Invocación |
| < | < | ||
| victor@cerebro: | victor@cerebro: | ||
| Line 40: | Line 40: | ||
| </ | </ | ||
| + | < | ||
| + | cat kvm-ifup | ||
| + | #!/bin/sh | ||
| + | set -x | ||
| + | switch=br0 | ||
| + | if [ -n " | ||
| + | # tunctl -u `whoami` -t $1 (use ip tuntap instead!) | ||
| + | ip tuntap add $1 mode tap user `whoami` | ||
| + | ip link set $1 up | ||
| + | sleep 0.5s | ||
| + | # brctl addif $switch $1 (use ip link instead!) | ||
| + | ip link set $1 master $switch | ||
| + | exit 0 | ||
| + | else | ||
| + | echo " | ||
| + | exit 1 | ||
| + | fi | ||
| + | </ | ||
| + | < | ||
| + | cat kvm-ifdown | ||
| + | # | ||
| + | # | ||
| + | # Script called by kvm on tap interface deletion | ||
| + | # | ||
| + | basename $0 -ifdown|sed -e ' | ||
| + | KVM_BR=`basename $0 -ifdown|sed -e ' | ||
| + | KVM_BRIDGE=${KVM_BR: | ||
| + | echo " | ||
| + | echo " | ||
| + | ip link set " | ||
| + | brctl delif " | ||
| + | </ | ||
| + | ===== Instalación Frontend ===== | ||
| + | Recommends y suggested desactivados en apt.conf | ||
| + | < | ||
| + | apt-get -y install gnupg wget apt-transport-https net-tools | ||
| + | wget -q -O- https:// | ||
| + | echo "deb https:// | ||
| + | apt update | ||
| + | apt-get -y install opennebula opennebula-sunstone opennebula-gate opennebula-flow opennebula-provision opennebula-fireedge opennebula-guacd | ||
| + | echo "deb https:// | ||
| + | wget -q -O- https:// | ||
| + | systemctl start opennebula opennebula-sunstone opennebula-fireedge opennebula-gate opennebula-flow | ||
| + | systemctl enable opennebula opennebula-sunstone opennebula-fireedge opennebula-gate opennebula-flow | ||
| + | |||
| + | </ | ||
| + | |||
| + | En / | ||
| + | < | ||
| + | : | ||
| + | </ | ||
| + | Cambiar por ip o dominio para que no aparezca error en sunstone. | ||
| ====== Backend ====== | ====== Backend ====== | ||
| ====== Storage ====== | ====== Storage ====== | ||
opennebula.1642151881.txt.gz · Last modified: by victor
