Skip to content

Conversation

@CarlFK
Copy link
Owner

@CarlFK CarlFK commented Jul 23, 2017

$cache - dir to wget img and iso files into so they don't clutter up the code dir.
keeps different suite's files with the same name from stepping on each other:
cache/$suite/hd-media/boot.img.gz

more_appends - plumbing to send random kernel params, like
more_appends=mirror/http/proxy=http://cnt5:8000/

lc/playbook_branch=${playbook_branch} \\
lc/inventory_repo=${inventory_repo} \\
lc/inventory_branch=${inventory_branch} \\
${more_appends} \\
Copy link
Collaborator

Choose a reason for hiding this comment

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

That's not in the provided config

Copy link
Owner Author

Choose a reason for hiding this comment

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

fixed

sha256sum --check ${iso}.SHA256SUM

zcat hd-media/boot.img.gz|sudo dcfldd of=/dev/${dev}
cd -
Copy link
Collaborator

Choose a reason for hiding this comment

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

I generally prefer using subshells to cd-ing around in a script, keeps it easier to follow the current directory...

Copy link
Owner Author

Choose a reason for hiding this comment

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

fixed

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