Openmptcprouter: proxmox

Created on 31 Jul 2020  路  14Comments  路  Source: Ysurac/openmptcprouter

Bonjour

Est il possible de mettre openmptcprouter sur une VM ou CT proxmox?
je poss猫de un serveur proliant et j'ai test l'installation d'une image openmptcprouter wmvare mais je n'ai pas r茅ussi a le faire fonctionner.

actuellement openmptcprouter tourne sur un raspberry pi 4b

image

Most helpful comment

unpack the gz so you can have a .img file. Upload the image into proxmox using winscp or whatever you feel comfortable using. cd into the directory where you placed your file then use the following shell command (I am using openmptcprouter.img as the image name and I have vm id 101, please change accordingly)
qm importdisk 101 openmptcprouter.img local-lvm
you will see an unused drive in your hardware now, add it and use it as boot drive.

All 14 comments

Oui 莽a fonctionne sous proxmox, 脿 condition d'utiliser KVM et pas LXC.

avec une image vmware?

Je sais que 莽a fonctionne avec une image raw, le reste je n'ai pas test茅.

create a VM with a raw hdd (in the filesystem, not in ZFS etc)
you have to use an x64 images and unpack the "img.gz" file.
stop the vm (if started by accident), cp the unpacked image file over the /var/lib/vz/$id/$rawimagename.
(you have to determine the $id from the VM number and the rawimage is the file you hopefully find exsting. Do not care about filesizes, just plain copy it over, the appropriate size will be detected by kvm during next start.

P.S. Make sure that enough vmbr-interfaces are already available via libvirtio-net in the vm at first openwrt boot. adding interfaces later may be a bit tricky.

Bonjour,
Tu peux installer ubuntu 18.04 puis tu fait l'installation du script et voila :)

Bonjour
de quel script tu parles Faktori?

Si vous avez choisi Debian :
wget -O - http://www.openmptcprouter.com/server/debian9-x86_64.sh | sh

Si vous avez choisi Ubuntu :
wget -O - http://www.openmptcprouter.com/server/ubuntu18.04-x86_64.sh | sh

Non ne fais pas cela. C'est pour installer la partie serveur et non la partie routeur.
Si tu veux installer ton routeur dans une VM Proxmox, tu dois utiliser une VM (kvm).
Sois tu charge un disque raw sois tu convertis l'image ova/vmware. Ca devrait suffir.

Le wiki de Proxmox explique comment charger un disque ova/vmware.

Bonjour

j'ai essay茅 avec un fichier kvm et en suivant les explications proxmox (de plusieurs fa莽ons) mais ca ne tourne pas normalement...

ps: j'avais bien compris que c'etait le fichier sript pour le vps, c'est pour ca que j'ai demand茅 plus de detail a Faktori .

Ha oui je parle de la version serveur moi pas routeur
Je pensais que tu parlais pour faire l'agregation

d茅sol茅

o.k., we are now into the n-th loop of a) finding out out what the initial request was and b) explaining things which were not initally requested.

@philoun8 for clairities sake:
1) select a decent title! this is a bug report? a feature request? or (as i assume) a help/support request (you can still edit that)
2) please state what you try to do (setting up the routeur part in a proxmox vm or the server part in a proxmox vm?)
3) if it's not working please be specific with wout error message. _"does not turn"_ is not helpful. otherwise people will suggest: _"have you tried turning it off and on again?"_

This issue is stale because it has been open 120 days with no activity. Remove stale label or comment or this will be closed in 5 days

unpack the gz so you can have a .img file. Upload the image into proxmox using winscp or whatever you feel comfortable using. cd into the directory where you placed your file then use the following shell command (I am using openmptcprouter.img as the image name and I have vm id 101, please change accordingly)
qm importdisk 101 openmptcprouter.img local-lvm
you will see an unused drive in your hardware now, add it and use it as boot drive.

Merci beaucoup Eliasdevlb

Was this page helpful?
0 / 5 - 0 ratings