From bb94e89409804fd8c341a341fb11e627d4606c87 Mon Sep 17 00:00:00 2001 From: Khue Doan Date: Tue, 31 Aug 2021 00:35:35 +0700 Subject: [PATCH] Add PXE server data dirs --- metal/roles/pxe-server/files/data/init-config/.gitignore | 2 ++ metal/roles/pxe-server/files/data/iso/.gitignore | 2 ++ metal/roles/pxe-server/files/data/os/.gitignore | 2 ++ metal/roles/pxe-server/files/docker-compose.yml | 2 +- 4 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 metal/roles/pxe-server/files/data/init-config/.gitignore create mode 100644 metal/roles/pxe-server/files/data/iso/.gitignore create mode 100644 metal/roles/pxe-server/files/data/os/.gitignore diff --git a/metal/roles/pxe-server/files/data/init-config/.gitignore b/metal/roles/pxe-server/files/data/init-config/.gitignore new file mode 100644 index 00000000..d6b7ef32 --- /dev/null +++ b/metal/roles/pxe-server/files/data/init-config/.gitignore @@ -0,0 +1,2 @@ +* +!.gitignore diff --git a/metal/roles/pxe-server/files/data/iso/.gitignore b/metal/roles/pxe-server/files/data/iso/.gitignore new file mode 100644 index 00000000..d6b7ef32 --- /dev/null +++ b/metal/roles/pxe-server/files/data/iso/.gitignore @@ -0,0 +1,2 @@ +* +!.gitignore diff --git a/metal/roles/pxe-server/files/data/os/.gitignore b/metal/roles/pxe-server/files/data/os/.gitignore new file mode 100644 index 00000000..d6b7ef32 --- /dev/null +++ b/metal/roles/pxe-server/files/data/os/.gitignore @@ -0,0 +1,2 @@ +* +!.gitignore diff --git a/metal/roles/pxe-server/files/docker-compose.yml b/metal/roles/pxe-server/files/docker-compose.yml index cd59d683..f5ef520a 100644 --- a/metal/roles/pxe-server/files/docker-compose.yml +++ b/metal/roles/pxe-server/files/docker-compose.yml @@ -15,7 +15,7 @@ services: build: ./http network_mode: host volumes: - - ./data/iso:/usr/share/nginx/html/iso + - ./data/os:/usr/share/nginx/html/os - ./data/init-config/:/usr/share/nginx/html/init-config environment: NGINX_PORT: 80