summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorKim Hagen <kim.sidney@gmail.com>2019-03-18 16:01:29 +0100
committerKim Hagen <kim.sidney@gmail.com>2019-03-18 16:01:29 +0100
commit48bcbfff70c0e7629f7ece72f59aec3c67e8efb4 (patch)
treeaaff57d9a2a57c078d63072e62a962b9e7fb48dd /Makefile
parentebd68761207a4d9088e15f63a492cb2c804ad0d4 (diff)
downloadvyos-build-48bcbfff70c0e7629f7ece72f59aec3c67e8efb4.tar.gz
vyos-build-48bcbfff70c0e7629f7ece72f59aec3c67e8efb4.zip
Add vmware ovf build procedure
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile14
1 files changed, 11 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 17ee4e65..fb5d0e3a 100644
--- a/Makefile
+++ b/Makefile
@@ -57,10 +57,14 @@ vagrant-libvirt:
.PHONY: vmware
.ONESHELL:
-vmware:
+vmware: clean prepare
@set -e
- @scripts/check-vm-build-env
- @scripts/build-vmware-image
+ @echo "It's not like I'm building this specially for you or anything!"
+ mkdir -p build/config/includes.chroot/etc/cloud/cloud.cfg.d
+ cp tools/cloud-init/vmware/90_dpkg.cfg build/config/includes.chroot/etc/cloud/cloud.cfg.d/
+ cp -f tools/cloud-init/vmware/config.boot.default build/config/includes.chroot/opt/vyatta/etc/
+ cd $(build_dir)
+ @../scripts/build-vmware-image
.PHONY: hyperv
.ONESHELL:
@@ -140,6 +144,10 @@ clean:
rm -f *.raw
rm -f *.tar.gz
rm -f *.qcow2
+ rm -f *.mf
+ rm -f *.ovf
+ rm -f *.ova
+ rm -f *.vmdk
.PHONY: purge
purge: