Ver código fonte

Update mikrotik-routeros-v5.sh

fix redirect
tteckster 2 anos atrás
pai
commit
419f750487
1 arquivos alterados com 2 adições e 2 exclusões
  1. 2 2
      vm/mikrotik-routeros-v5.sh

+ 2 - 2
vm/mikrotik-routeros-v5.sh

@@ -264,8 +264,8 @@ pvesm alloc $STORAGE $VMID $DISK0 4M 1>&/dev/null
 qm importdisk $VMID ${FILE%.*} $STORAGE ${DISK_IMPORT:-} 1>&/dev/null
 qm importdisk $VMID ${FILE%.*} $STORAGE ${DISK_IMPORT:-} 1>&/dev/null
 qm set $VMID \
 qm set $VMID \
   -efidisk0 ${DISK0_REF},efitype=4m,size=4M \
   -efidisk0 ${DISK0_REF},efitype=4m,size=4M \
-  -scsi0 ${DISK1_REF},size=2G >/dev/null
-  -boot order=scsi0 >/dev/null
+  -scsi0 ${DISK1_REF},size=2G \
+  -boot order=scsi0 \
   -description "# Mikrotik RouterOS VM
   -description "# Mikrotik RouterOS VM
 ### https://github.com/tteck/Proxmox
 ### https://github.com/tteck/Proxmox
 [![ko-fi](https://ko-fi.com/img/githubbutton_sm.svg)](https://ko-fi.com/D1D7EP4GF)" >/dev/null
 [![ko-fi](https://ko-fi.com/img/githubbutton_sm.svg)](https://ko-fi.com/D1D7EP4GF)" >/dev/null