Skip to content
This repository has been archived by the owner on Dec 8, 2023. It is now read-only.

Commit

Permalink
Merge pull request #355 from dweomer/linuxkit/metadata/hetzner
Browse files Browse the repository at this point in the history
update linuxkit/metadata supporting hetzner
  • Loading branch information
dweomer authored Jan 17, 2020
2 parents f118f95 + 13a4e61 commit 6e42c11
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -430,6 +430,7 @@ These are the data sources used for download config from cloud provider. The val
packet
scaleway
vultr
hetzner
cdrom

More than one can be supported at a time, for example:
Expand All @@ -441,6 +442,8 @@ k3os:
- cdrom
```

When multiple data sources are specified they are probed in order and the first to provide `/run/config/userdata` will halt further processing.

### `k3os.modules`

A list of kernel modules to be loaded on start.
Expand Down
5 changes: 3 additions & 2 deletions images/02-progs/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,12 @@ ARG TAG
ARG VERSION
FROM ${REPO}/k3os-gobuild:${TAG} as gobuild

ENV LINUXKIT v0.7
ENV LINUXKIT 3f56669576bac1a44cd61f5a9fa540976d33eeed

FROM gobuild as linuxkit
RUN git clone --branch $LINUXKIT https://github.com/linuxkit/linuxkit.git $GOPATH/src/github.com/linuxkit/linuxkit
RUN git clone https://github.com/linuxkit/linuxkit.git $GOPATH/src/github.com/linuxkit/linuxkit
WORKDIR $GOPATH/src/github.com/linuxkit/linuxkit/pkg/metadata
RUN git checkout -b current $LINUXKIT
RUN gobuild -o /output/metadata

FROM gobuild as k3os
Expand Down

0 comments on commit 6e42c11

Please sign in to comment.