summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile13
1 files changed, 12 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index b0904772..17ee4e65 100644
--- a/Makefile
+++ b/Makefile
@@ -82,7 +82,7 @@ clearfog: clean prepare
azure: clean prepare
@set -e
@echo "It's not like I'm building this specially for you or anything!"
- cp tools/cloud-init/azure/99-walinuxagent.chroot build/config/hooks/
+ cp tools/cloud-init/azure/99-walinuxagent.chroot build/config/hooks/live/
cp tools/cloud-init/azure/vyos-azure.list.chroot build/config/package-lists/
cp -f tools/cloud-init/azure/config.boot.default build/config/includes.chroot/opt/vyatta/etc/
cd $(build_dir)
@@ -114,6 +114,16 @@ AWS: clean prepare
cd ..
@scripts/copy-image
+.PHONY: oracle
+.ONESHELL:
+oracle: clean prepare
+ @set -e
+ @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/OCI/90_dpkg.cfg build/config/includes.chroot/etc/cloud/cloud.cfg.d/
+ cd $(build_dir)
+ @../scripts/build-oracle-image
+
.PHONY: clean
.ONESHELL:
clean:
@@ -129,6 +139,7 @@ clean:
rm -f *.vhd
rm -f *.raw
rm -f *.tar.gz
+ rm -f *.qcow2
.PHONY: purge
purge: