Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable skipping of network in setup.sh #88

Merged
merged 1 commit into from
Jun 25, 2021

Conversation

micahhausler
Copy link
Contributor

Description

  • Enable skipping of network in setup.sh
  • Fixed path to deploy dir in log message
  • Allow TINKERBELL_CIDR and TINKERBELL_HOST_IP to be overridable
  • Set environment variables for tink cli in .env

Why is this needed

  • If I'm using bare metal, I don't need any network setup.
  • The log message was wrong
  • Its handy to not have to hack .env file after its generated and just set TINKERBELL_CIDR and TINKERBELL_HOST_IP before running generate-env.sh
  • Its handy to have the tink CLI env vars if you have the tink cli installed

Fixes: #87

How Has This Been Tested?

Ran changes locally

How are existing users impacted? What migration steps/scripts do we need?

N/A

Checklist:

I'll update the bare metal docs in a follow up PR calling out the escape hatch

micahhausler added a commit to micahhausler/tinkerbell-docs that referenced this pull request Jun 25, 2021
@jacobweinstock
Copy link
Member

@micahhausler looks like just a minor linting complaint

-	if [[ -z "$TINKERBELL_SKIP_NETWORKING" ]]; then
+	if [[ -z $TINKERBELL_SKIP_NETWORKING ]]; then

* Fixed path to deploy dir in log message
* Allow TINKERBELL_CIDR and TINKERBELL_HOST_IP to be overridable
* Set environment variables for tink cli in .env

Signed-off-by: Micah Hausler <[email protected]>
@micahhausler
Copy link
Contributor Author

@micahhausler looks like just a minor linting complaint

-	if [[ -z "$TINKERBELL_SKIP_NETWORKING" ]]; then
+	if [[ -z $TINKERBELL_SKIP_NETWORKING ]]; then

Fixed

micahhausler added a commit to micahhausler/tinkerbell-docs that referenced this pull request Jun 25, 2021
@jacobweinstock jacobweinstock merged commit 1ebcf48 into tinkerbell:master Jun 25, 2021
jacobweinstock added a commit to tinkerbell/tinkerbell-docs that referenced this pull request Jun 25, 2021
@micahhausler micahhausler deleted the baremetal branch June 25, 2021 17:08
mmlb pushed a commit to tinkerbell/tinkerbell-docs that referenced this pull request Aug 4, 2021
HoKim98 pushed a commit to HoKim98/sandbox that referenced this pull request Aug 27, 2021
Enable skipping of network in setup.sh

Signed-off-by: Ho Kim <[email protected]>
ttwd80 pushed a commit to ttwd80/tinkerbell-playground that referenced this pull request Sep 7, 2024
Enable skipping of network in setup.sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support skipping network configuration in setup.sh
2 participants