mirror of
https://github.com/flatcar/scripts.git
synced 2025-10-01 18:42:22 +02:00
Merge pull request #1794 from flatcar-linux/kai/update-ssh-keys-after-ignition
coreos-base/coreos-init: run update-ssh-keys once after Ignition
This commit is contained in:
commit
fbcc7639e8
@ -0,0 +1 @@
|
||||
- Made Ignition write the SSH keys into a file under `authorized_keys.d/ignition` again and added a call to `update-ssh-keys` after Ignition ran to create the merged `authorized_keys` file, which fixes the problem that keys added by Ignition get lost when `update-ssh-keys` runs ([PR#66](https://github.com/flatcar-linux/init/pull/66))
|
@ -10,7 +10,7 @@ CROS_WORKON_REPO="https://github.com"
|
||||
if [[ "${PV}" == 9999 ]]; then
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
|
||||
else
|
||||
CROS_WORKON_COMMIT="a22b550c7cf689661970a2a23dd457870dd84c97" # flatcar-master
|
||||
CROS_WORKON_COMMIT="d76453b957f1e9ebe428c66ea6c9e3bb9a2d3489" # flatcar-master
|
||||
KEYWORDS="amd64 arm arm64 x86"
|
||||
fi
|
||||
|
||||
|
@ -46,7 +46,7 @@ PATCHES=(
|
||||
|
||||
src_compile() {
|
||||
export GO15VENDOREXPERIMENT="1"
|
||||
GO_LDFLAGS="-X github.com/flatcar-linux/ignition/v2/internal/version.Raw=${PV} -X github.com/flatcar-linux/ignition/v2/internal/distro.selinuxRelabel=false -X github.com/flatcar-linux/ignition/v2/internal/distro.writeAuthorizedKeysFragment=false" || die
|
||||
GO_LDFLAGS="-X github.com/flatcar-linux/ignition/v2/internal/version.Raw=${PV} -X github.com/flatcar-linux/ignition/v2/internal/distro.selinuxRelabel=false" || die
|
||||
go_build "${COREOS_GO_PACKAGE}/internal"
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user