Skip to content

Commit

Permalink
Add a make example to build cloudimg based images.
Browse files Browse the repository at this point in the history
  • Loading branch information
alanbach committed Nov 9, 2023
1 parent 0fe47d1 commit 19b3e63
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions ubuntu/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,12 @@ packer build -var customize_script=my-changes.sh -var ubuntu_series=jammy \
the VM. For example, you can install packages using `apt-get`, call out to
ansible, or whatever you want.

Building using make:

```shell
sudo make custom-cloudimg.tar.gz SERIES=jammy
```

#### Accessing external files from you script

If you want to put or use some files in the image, you can put those in the `http` directory.
Expand Down

0 comments on commit 19b3e63

Please sign in to comment.