-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add vagrant output options for nxos and eos
Will add a vagrant user with SSH key configured, and create a .box file for use with vagrant-libvirt
- Loading branch information
Michael Chapman
committed
Mar 22, 2018
1 parent
edbe3bc
commit 04deed8
Showing
5 changed files
with
35 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
--- | ||
- name: Include platform variables | ||
include_vars: | ||
dir: "{{ platform }}/{{ build_version }}" | ||
|
||
- name: Get box building script | ||
get_url: | ||
url: https://raw.githubusercontent.com/vagrant-libvirt/vagrant-libvirt/master/tools/create_box.sh | ||
dest: "{{ output_directory }}/create_box.sh" | ||
mode: 0777 | ||
|
||
- name: Run box building script | ||
shell: "bash {{ output_directory }}/create_box.sh {{output_directory}}/{{ platform }}.qcow2" |
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