| Date: | 2015-06-30 22:00 |
|---|---|
| tags: | aio, vagrant |
Create a Virtual All-in-One(AIO) using Vagrant. This blueprint covers how this will be achieved using the Vagrant Virtualbox or Vagrant Libvirt-KVM Providers.
Problem description
| CONNECTED(00000003) | |
| depth=3 C = SE, O = AddTrust AB, OU = AddTrust External TTP Network, CN = AddTrust External CA Root | |
| verify return:1 | |
| depth=2 C = US, ST = New Jersey, L = Jersey City, O = The USERTRUST Network, CN = USERTrust RSA Certification Authority | |
| verify return:1 | |
| depth=1 C = FR, ST = Paris, L = Paris, O = Gandi, CN = Gandi Standard SSL CA 2 | |
| verify return:1 | |
| depth=0 OU = Domain Control Validated, OU = Gandi Standard SSL, CN = linuxsimba.com | |
| verify return:1 | |
| --- |
| #!/usr/bin/python | |
| """ Ansible Inventory Generated From Netbox | |
| Author: Stanley Karunditu <stanley@linuxsimba.com> | |
| License: MIT | |
| Requirements: | |
| * use netbox device roles that result in hyphenated role names. E.g |
| diff --git a/netbox/dcim/tables.py b/netbox/dcim/tables.py | |
| index 94d359a..d5af207 100644 | |
| --- a/netbox/dcim/tables.py | |
| +++ b/netbox/dcim/tables.py | |
| @@ -75,6 +75,13 @@ UTILIZATION_GRAPH = """ | |
| {% utilization_graph value %} | |
| """ | |
| +CUSTOM_FIELDS = """ | |
| +{% for field,value in record.get_custom_fields.items %} |
| diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml | |
| new file mode 100644 | |
| index 0000000..7876150 | |
| --- /dev/null | |
| +++ b/.gitlab-ci.yml | |
| @@ -0,0 +1,11 @@ | |
| +test:2.7: | |
| + image: python:2.7.12-wheezy | |
| + script: | |
| + - netshow-lib/test.sh |
| test:2.7: | |
| image: python:2.7.12-wheezy | |
| script: | |
| - netshow-lib/test.sh | |
| - netshow/test.sh | |
| test:3.5: | |
| image: python:3.4.5-wheezy | |
| script: | |
| - netshow-lib/test.sh |
| version: '2' | |
| networks: | |
| gitlab_net: | |
| driver: bridge | |
| ipam: | |
| driver: default | |
| config: | |
| - subnet: 192.168.201.0/24 | |
| gateway: 192.168.201.1 |
| Date: | 2015-06-30 22:00 |
|---|---|
| tags: | aio, vagrant |
Create a Virtual All-in-One(AIO) using Vagrant. This blueprint covers how this will be achieved using the Vagrant Virtualbox or Vagrant Libvirt-KVM Providers.
Problem description
| # -*- mode: ruby -*- | |
| # vi: set ft=ruby : | |
| # | |
| # This file has lots of comments. If you are using VIM, | |
| # this quick liner will remove all comments, if you so wish. | |
| # | |
| # :g/\v^(#|$)/d | |
| # | |
| # | |
| # All Vagrant configuration is done below. The "2" in Vagrant.configure |
| # -*- mode: ruby -*- | |
| # vi: set ft=ruby : | |
| Vagrant.configure(2) do |config| | |
| config.vm.box = 'tc' | |
| config.vm.box_url = "http://linuxsimba.com/vagrantbox/tinycore-7.0.libvirt.box" | |
| config.vm.synced_folder '.', '/vagrant', :disabled => true | |
| end |
| [root@localhost vagrant]# fuel-mirror create help | |
| Starting new HTTP connection (1): 10.20.0.2 | |
| Starting new HTTP connection (1): 10.20.0.2 | |
| Starting new HTTP connection (1): 10.20.0.2 | |
| Starting new HTTP connection (1): 10.20.0.2 | |
| usage: fuel-mirror create [-h] (-I PATH | -P NAME) -G GROUPS [GROUPS ...] | |
| fuel-mirror create: error: argument -G/--group is required | |
| [root@localhost vagrant]# ^C | |
| [root@localhost vagrant]# |