Skip to content

Commit

Permalink
Update required utilities.
Browse files Browse the repository at this point in the history
  • Loading branch information
covertsh committed Dec 16, 2021
1 parent 00eceec commit 2286503
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ Tested on a host running Ubuntu 20.04.1.
- ```sed```
- ```curl```
- ```gpg```
- ```isolinux```

### Usage
```
Expand Down
1 change: 1 addition & 0 deletions ubuntu-autoinstall-generator.sh
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,7 @@ log "🔎 Checking for required utilities..."
[[ ! -x "$(command -v sed)" ]] && die "💥 sed is not installed. On Ubuntu, install the 'sed' package."
[[ ! -x "$(command -v curl)" ]] && die "💥 curl is not installed. On Ubuntu, install the 'curl' package."
[[ ! -x "$(command -v gpg)" ]] && die "💥 gpg is not installed. On Ubuntu, install the 'gpg' package."
[[ ! -f "/usr/lib/ISOLINUX/isohdpfx.bin" ]] && die "💥 isolinux is not installed. On Ubuntu, install the 'isolinux' package."
log "👍 All required utilities are installed."

if [ ! -f "${source_iso}" ]; then
Expand Down

0 comments on commit 2286503

Please sign in to comment.