Skip to content

Commit

Permalink
Try adding hosts
Browse files Browse the repository at this point in the history
  • Loading branch information
mcbenjemaa committed Feb 28, 2025
1 parent 75fae89 commit 46a7817
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,7 @@ spec:
owner: root:root
permissions: "0700"
preKubeadmCommands:
- echo "127.0.0.1 localhost kubernetes {{ ds.meta_data.hostname }}" >>/etc/hosts
- /etc/kube-vip-prepare.sh
initConfiguration:
nodeRegistration:
Expand Down
4 changes: 4 additions & 0 deletions test/e2e/suite_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,10 @@ var _ = SynchronizedAfterSuite(func() {
// After each ParallelNode.
}, func() {
// After all ParallelNodes.
By("Dumping logs from the bootstrap cluster")
if err := dumpBootstrapClusterLogs(); err != nil {
GinkgoWriter.Printf("Failed to dump bootstrap cluster logs: %v", err)
}

By("Tearing down the management cluster")
if !skipCleanup {
Expand Down

0 comments on commit 46a7817

Please sign in to comment.