README.md hinzugefügt
This commit is contained in:
parent
fa19e81b0d
commit
d7a49772e6
|
@ -0,0 +1,35 @@
|
|||
# convert any gnu/linux machine into a proxmox lxc container #
|
||||
|
||||
#### root ssh access on target machine required #####
|
||||
#### run skript @proxmox host with root privileges #####
|
||||
|
||||
```
|
||||
./convert.sh \
|
||||
-n test \
|
||||
-t syspass.dgmbsd.de \
|
||||
-P 22 \
|
||||
-i 114 \
|
||||
-s 10 \
|
||||
-a 192.168.111.63 \
|
||||
-b vmbr0 \
|
||||
-g 192.168.111.64 \
|
||||
-m 2048 \
|
||||
-d default \
|
||||
-p foo
|
||||
|
||||
```
|
||||
|
||||
```
|
||||
/convert.sh -h|--help
|
||||
-n|--name [lxc container name]
|
||||
-t|--target [target machine ssh uri]
|
||||
-P|--port [target port ssh]
|
||||
-i|--id [proxmox container id]
|
||||
-s|--root-size [rootfs size in GB]
|
||||
-a|--ip [target container ip]
|
||||
-b|--bridge [bridge interface]
|
||||
-g|--gateway [gateway ip]
|
||||
-m|--memory [memory in mb]
|
||||
-d|--disk-storage [target proxmox storage pool]
|
||||
-p|--password [root password for container (min. 5 chars)]
|
||||
```
|
Loading…
Reference in New Issue