Skip to content

Commit

Permalink
fix: path
Browse files Browse the repository at this point in the history
  • Loading branch information
naa0yama committed Oct 8, 2024
1 parent fad68bc commit a0481e6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
8 changes: 2 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,6 @@ Create an automated installation ISO for Proxmox VE

The `answers` directory supports multiple file placements, so you can create an ISO by placing as many files as you need.

## local build
## use

```bash
docker build -t tmp .
docker run --rm -u $(id -u):$(id -g) -it -v $PWD/answers:/answers -v $PWD/dist:/dist tmp

```
Please refer to [here](.github/workflows/release.yml) for usage
3 changes: 1 addition & 2 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,14 @@ set -eux
PROXMOX_VERSION=${PROXMOX_VERSION:-8.2-2}
PROXMOX_ISO_SHA=${PROXMOX_ISO_SHA:-c96ad84eacbbcef299ab8f407f9602f832abb5ceb08a9aa288c1e1164df2da97}

ls -lah

mkdir -p answers dist
cd dist

if ! [ -f "dist/proxmox-ve_${PROXMOX_VERSION}.iso" ]; then
aria2c https://enterprise.proxmox.com/iso/proxmox-ve_${PROXMOX_VERSION}.iso
echo "${PROXMOX_ISO_SHA} proxmox-ve_${PROXMOX_VERSION}.iso" | sha256sum --status -c -
fi
cd ..

find answers -maxdepth 1 -name '*.toml' | while read -r fname
do
Expand Down

0 comments on commit a0481e6

Please sign in to comment.