Skip to content

Updated 2016-05-31-xr-toolbox-ios-xr-vagrant-bootstrap-config.md #30

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

Open
wants to merge 1 commit into
base: gh-pages
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
---
published: true
date: "2016-05-31 02:13 -0700"
title: "XR Toolbox: Boostrap XR configuration with Vagrant"
permalink: "/tutorials/iosxr-vagrant-bootstrap-config"
date: '2016-05-31 02:13 -0700'
title: 'XR Toolbox: Bootstrap XR configuration with Vagrant'
permalink: /tutorials/iosxr-vagrant-bootstrap-config
author: Akshat Sharma
excerpt: "Configure an IOS-XR Vagrant box on boot using a Shell provisioner"
tags:
excerpt: Configure an IOS-XR Vagrant box on boot using a Shell provisioner
tags:
- vagrant
- iosxr
- cisco
Expand All @@ -17,6 +17,8 @@ position: top
{% include toc icon="table" title="IOS-XR Vagrant: Bootstrap Config" %}
{% include base_path %}

Trying again.

## Introduction

The [IOS-XR Vagrant Quick Start guide]({{ base_path }}/tutorials/iosxr-vagrant-quickstart)
Expand Down Expand Up @@ -65,7 +67,7 @@ AKSHSHAR-M-K0DS:vagrant-xr akshshar$

## Bootstrap Configuration: Shell Provisioner

The concept is simple: We'll use the Vagrant shell provisioner to apply a boostrap configuration to an XR instance when we issue a `vagrant up`.
The concept is simple: We'll use the Vagrant shell provisioner to apply a bootstrap configuration to an XR instance when we issue a `vagrant up`.

All we need is a shell provisioner section in the Vagrantfile for each node:

Expand Down Expand Up @@ -293,7 +295,3 @@ RP/0/RP0/CPU0:ios#

It worked! The config was applied as part of the vagrant up process.
{: .notice--success}