You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

start-target 407B

hace 10 años
123456789101112131415
  1. #!/bin/sh
  2. . gconfig
  3. ARCH=qemu$1
  4. SUFFIX=$2
  5. if [ -z "$USE_LXC" ]; then
  6. kvm -cpu $ARCH -m ${VMEM:-2000} -smp ${NPROCS:-2} -drive file=target-$SUFFIX.qcow2 -net nic,model=virtio -net user,hostfwd=tcp:127.0.0.1:$VM_SSH_PORT-:22 -vnc 127.0.0.1:16 > var/target.log 2>&1 &
  7. echo $! > var/target.pid
  8. wait
  9. rm var/target.pid
  10. else
  11. true #sudo lxc-start -n gitian -c var/target.log -f lxc.config
  12. fi