| 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
| # Start Google Print Cups Connector | |
| # Found at github.com/google/cups-connector | |
| description "gcp-cups-connector" | |
| author "Google" | |
| # Start only when cups is up. | |
| start on (filesystem | |
| and (started cups and runlevel [2345])) |
| heat_template_version: 2015-04-30 | |
| description: Create a new Project. Assign a user and user-role pair. | |
| parameters: | |
| demo_project_name: | |
| type: string | |
| description: project name | |
| demo_user_role: | |
| type: string |
| heat_template_version: 2015-04-30 | |
| description: Create new Tenant network and add a subnet to the network. Create 2 VMs and place the VMs in 2 unique compute nodes. Ensure each VM has a floating IP. User | |
| that runs this MUST be in the openstack admin role | |
| parameters: | |
| demo_net_cidr: | |
| type: string | |
| description: CIDR for demo network | |
| demo_net_gateway: |
| parameters: | |
| demo_net_cidr: 10.100.1.0/24 | |
| demo_net_gateway: 10.100.1.2 | |
| demo_net_pool_start: 10.100.1.10 | |
| demo_net_pool_end: 10.100.1.100 | |
| demo_net_name: 'demonet' | |
| demo_ext_net_name: 'ext-net' | |
| demo_key_name: 'demo-key' | |
| demo_image_name: 'cirros' | |
| demo_flavor_name: 'm2.supertiny' |
| #!/usr/bin/python | |
| # define the prefix to try since we knew what the password starts with | |
| prefix = ['begin', 'Begin'] | |
| # list of sequences to run through | |
| sequences = ['seq1', 'Seq1', 'SEQ1', 'se2', '!', '123', '555', '103', '_'] | |
| # open the password file where the dictionary will be saved |
| 2016-02-07T17:17:02 debug: [544] Task '{"priority"=>700, "type"=>"puppet", "uids"=>["1"], "parameters"=>{"puppet_modules"=>"/etc/puppet/modules", "puppet_manifest"=>"/etc/puppet/modules/osnailyfacter/modular/netconfig/connectivity_tests.pp", "timeout"=>3600, "cwd"=>"/"}}' on node uid=1 deploying | |
| 2016-02-07T17:17:02 debug: [544] Data received by DeploymentProxyReporter to report it up: {"nodes"=>[{"uid"=>"1", "progress"=>0, "status"=>"deploying", "role"=>"primary-controller", "task"=>{"priority"=>700, "type"=>"puppet", "uids"=>["1"], "parameters"=>{"puppet_modules"=>"/etc/puppet/modules", "puppet_manifest"=>"/etc/puppet/modules/osnailyfacter/modular/netconfig/connectivity_tests.pp", "timeout"=>3600, "cwd"=>"/"}}}]} | |
| 2016-02-07T17:17:04 debug: [544] 951fbc53-c39d-4306-8c3e-d4e075165feb: MC agent 'puppetd', method 'last_run_summary', results: {:sender=>"1", :statuscode=>0, :statusmsg=>"OK", :data=>{:time=>{"anchor"=>0.00019518900000000002, "config_retrieval"=>1.469389132, "exec"=>33.166859273, "file"=>0.041204726 |
| [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]# |
| # -*- 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 |
| # -*- 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 |
| 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