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

Tumbleweed/setup dev env #2

Merged
merged 6 commits into from
Aug 6, 2019

Conversation

mgfritch
Copy link
Collaborator

Collection of fixes made during setup on a clean tumbleweed dev. environment.

@mgfritch mgfritch force-pushed the tumbleweed/setup-dev-env branch from f9844c1 to e9243b5 Compare July 29, 2019 21:26
The default developer-settings (_default-dev-settings) are not being
sourced in, leaving empty defaults in the shell environment when the
python script(s) run.

dev-rook-ceph # source developer-settings
developer-settings: line 3: source: _default-dev-settings: file not found
makelib.mk explicitly unsets the shell environment, causing the "$USER"
var to also be unset. This later results in a bad libvirt dnsmasq domain
that starts with a '-' char ('-rook-dev.net')
@mgfritch mgfritch force-pushed the tumbleweed/setup-dev-env branch from f68cfdf to 53accc0 Compare August 6, 2019 00:43
@@ -6,7 +6,8 @@

# Prevent cluster collisions in shared environments with a resource name prefix
# Can safely be commented-out for local libvirt use
export CLUSTER_PREFIX="$USER-"
export USER=$(whoami || echo "default-user")
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think we want a default user. That could still encourage collisions. The intent is that with -u, this will fail if the USER env var is unset.

@BlaineEXE BlaineEXE merged commit 58412f4 into BlaineEXE:master Aug 6, 2019
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.

2 participants