Build as a VM
This commit is contained in:
parent
3b3f3bd794
commit
1e421a0de1
|
@ -16,3 +16,10 @@ distrobox enter spiri-sdk-desktop-main
|
||||||
cd /opt/spiri-sdk/PX4-Autopilot/
|
cd /opt/spiri-sdk/PX4-Autopilot/
|
||||||
make px4_sitl gazebo-classic #Start the simulator
|
make px4_sitl gazebo-classic #Start the simulator
|
||||||
```
|
```
|
||||||
|
|
||||||
|
# Building
|
||||||
|
|
||||||
|
```bash
|
||||||
|
docker build -t spiri-desktop-sdk ./
|
||||||
|
./virtualize.sh spiri-desktop-sdk spiri-sdk.ova
|
||||||
|
```
|
||||||
|
|
|
@ -0,0 +1,75 @@
|
||||||
|
system:
|
||||||
|
name: spiri-sdk
|
||||||
|
type: vmx-17
|
||||||
|
os_vmw: other4xLinux64Guest
|
||||||
|
firmware: efi
|
||||||
|
secure_boot: false
|
||||||
|
# default_configuration: grande
|
||||||
|
|
||||||
|
networks:
|
||||||
|
vm_network:
|
||||||
|
name: "VM Network"
|
||||||
|
description: "The VM Network network"
|
||||||
|
|
||||||
|
hardware:
|
||||||
|
cpus: 2
|
||||||
|
memory: 2048
|
||||||
|
# sata1:
|
||||||
|
# type: sata_controller
|
||||||
|
scsi1:
|
||||||
|
type: scsi_controller
|
||||||
|
# cdrom1:
|
||||||
|
# type: cd_drive
|
||||||
|
# parent: sata1
|
||||||
|
rootdisk:
|
||||||
|
type: hard_disk
|
||||||
|
parent: scsi1
|
||||||
|
#Set automatically as part of our pipeline, do not change
|
||||||
|
disk_image: /tmp/output.vmdk
|
||||||
|
usb1:
|
||||||
|
type: usb_controller
|
||||||
|
# ethernet1:
|
||||||
|
# type: ethernet
|
||||||
|
# subtype: VmxNet3
|
||||||
|
# network: vm_network
|
||||||
|
# videocard1:
|
||||||
|
# type: video_card
|
||||||
|
# vmci1:
|
||||||
|
# type: vmci
|
||||||
|
|
||||||
|
# configurations:
|
||||||
|
# tall:
|
||||||
|
# label: Tall
|
||||||
|
# description: too little for the money
|
||||||
|
# grande:
|
||||||
|
# label: Grande
|
||||||
|
# description: just right
|
||||||
|
# venti:
|
||||||
|
# label: Venti
|
||||||
|
# description: too much
|
||||||
|
|
||||||
|
# environment:
|
||||||
|
# transports:
|
||||||
|
# - com.vmware.guestInfo
|
||||||
|
# - iso
|
||||||
|
# categories:
|
||||||
|
# email: Email Settings
|
||||||
|
# properties:
|
||||||
|
# guestinfo.admin.email:
|
||||||
|
# value: admin@company.org
|
||||||
|
# user_configurable: true
|
||||||
|
# type: string
|
||||||
|
# description: "The Admin's email address"
|
||||||
|
# label: "Email Address"
|
||||||
|
# category: email
|
||||||
|
|
||||||
|
# extra_configs:
|
||||||
|
# feature.enabled:
|
||||||
|
# required: false
|
||||||
|
# value: true
|
||||||
|
# log.rotateSize:
|
||||||
|
# value: 2048000
|
||||||
|
|
||||||
|
product:
|
||||||
|
product: Spiri SDK desktop
|
||||||
|
vendor: Spiri Robotics
|
|
@ -0,0 +1,3 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
docker run --rm -it -v /var/run/docker.sock:/var/run/docker.sock --privileged -v $PWD:/d2vm -w /d2vm git.spirirobotics.com/spiri/utils-docker_to_ovf:main $@
|
Loading…
Reference in New Issue