-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
M #-: Improve capone131 image (cloud provider research)
- Use the k8s.io namespace with ctr (fix) - Correctly escape dollar sign in kube-vip wrapper (fix) - Add env vars required by crictl (deprecation) - Add insecure registry.dev for development use - Use ubuntu2404 image built in one-apps submodule - Use one-context instead of cloud-init - Cleanup makefiles
- Loading branch information
Showing
8 changed files
with
81 additions
and
29 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
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
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
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,33 @@ | ||
#!/bin/bash | ||
set -eux -o pipefail | ||
|
||
SCRIPT=$(cat <<'MAINEND' | ||
gawk -i inplace -f- /etc/ssh/sshd_config <<'EOF' | ||
BEGIN { update = "PasswordAuthentication yes" } | ||
/^[#\s]*PasswordAuthentication\s/ { $0 = update; found = 1 } | ||
{ print } | ||
ENDFILE { if (!found) print update } | ||
EOF | ||
gawk -i inplace -f- /etc/ssh/sshd_config <<'EOF' | ||
BEGIN { update = "PermitRootLogin yes" } | ||
/^[#\s]*PermitRootLogin\s/ { $0 = update; found = 1 } | ||
{ print } | ||
ENDFILE { if (!found) print update } | ||
EOF | ||
systemctl reload sshd | ||
echo "nameserver 1.1.1.1" > /etc/resolv.conf | ||
MAINEND | ||
) | ||
|
||
cat<<EOF | ||
ETH0_METHOD='dhcp' | ||
NETWORK='YES' | ||
SET_HOSTNAME='capone' | ||
PASSWORD='opennebula' | ||
ETH0_MAC='00:11:22:33:44:55' | ||
NETCFG_TYPE='nm' | ||
START_SCRIPT_BASE64="$(echo "$SCRIPT" | base64 -w0)" | ||
EOF |
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
Submodule one-apps
updated
13 files