forked from covertsh/ubuntu-autoinstall-generator
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Thanks to covertsh#33
- Loading branch information
Showing
4 changed files
with
106 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,3 +8,6 @@ user-data.yaml | |
**id_rsa** | ||
**authorized_keys** | ||
.env | ||
*.img | ||
user-data | ||
meta-data |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
FROM debian:latest | ||
|
||
RUN apt update && apt upgrade -y | ||
|
||
RUN apt install -y xorriso sed curl gpg isolinux fdisk | ||
|
||
RUN mkdir /build /root/.gnupg | ||
|
||
WORKDIR /build | ||
|
||
COPY ubuntu-autoinstall-generator.sh . | ||
|
||
COPY user-data . | ||
|
||
CMD bash /build/ubuntu-autoinstall-generator.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters