- Remove the worker class name from class_names.rb
- Start your sever normally
- Make sure your provider is added to your appliance (for provider-specific workers like refreshers and event catchers)
- Run rails console (see rails script below)
This file contains hidden or 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
#!/bin/bash | |
for i in {0..255} ; do | |
printf "\x1b[38;5;${i}mcolor${i}\n" | |
done |
This file contains hidden or 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
#!/bin/bash | |
printf '\033]2;%s\033\\' "$1" |
This file contains hidden or 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
nova_networks = [{"networks"=>[{"bridge"=>"bridge1_name", "vpn_public_port"=>nil, "dhcp_start"=>"1.2.2.1", "bridge_interface"=>"intf1_name", "updated_at"=>nil, "id"=>"UUID1", "cidr_v6"=>nil, "deleted_at"=>nil, "gateway"=>"1.1.1.1", "rxtx_base"=>nil, "label"=>"vlan1_name", "priority"=>nil, "project_id"=>nil, "vpn_private_address"=>nil, "deleted"=>0, "vlan"=>nil, "broadcast"=>"4.3.2.1", "netmask"=>"255.255.255.0", "injected"=>false, "cidr"=>"1.2.2.0/24", "vpn_public_address"=>nil, "multi_host"=>true, "dns2"=>"8.8.8.8", "created_at"=>"2014-09-10T18:56:17.000000", "host"=>nil, "gateway_v6"=>nil, "netmask_v6"=>nil, "dns1"=>"8.8.8.8"}, {"bridge"=>"br100", "vpn_public_port"=>nil, "dhcp_start"=>"1.2.3.1", "bridge_interface"=>"intf2_name", "updated_at"=>nil, "id"=>"UUID2", "cidr_v6"=>nil, "deleted_at"=>nil, "gateway"=>"1.1.1.1", "rxtx_base"=>nil, "label"=>"vlan2_name", "priority"=>nil, "project_id"=>nil, "vpn_private_address"=>nil, "deleted"=>0, "vlan"=>nil, "broadcast"=>"4.3.2.1", "netmask"=>"255.255.255.0", "injecte |
This file contains hidden or 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
1. Install HA Proxy package | |
#> yum install haproxy | |
2. Generate the self-signed cert | |
#> mkdir -p /etc/pki/haproxy | |
#> umask 077 && openssl genrsa -out /etc/pki/haproxy/haproxy.key 1024 | |
#> umask 022 && openssl req -key /etc/pki/haproxy/haproxy.key \ | |
-out /etc/pki/haproxy/haproxy.crt \ |
This file contains hidden or 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
verify_credentials_with_ssh calls connect_ssh: https://github.com/ManageIQ/manageiq/blob/master/app/models/host.rb#L857 | |
connect_ssh calls MiqSshUtil#shell_with_ssu: https://github.com/ManageIQ/manageiq/blob/master/app/models/host.rb#L1139 | |
MiqSshUtil#shell_with_su calls #new: https://github.com/ManageIQ/manageiq/blob/master/gems/pending/util/MiqSshUtilV2.rb#L217 | |
MiqSshUtil#new calls #run_session: https://github.com/ManageIQ/manageiq/blob/master/gems/pending/util/MiqSshUtilV2.rb#L114 | |
MiqSshUtil#run_session calls MiqSockUtil#getFullyQualifiedDomainName: https://github.com/ManageIQ/manageiq/blob/master/gems/pending/util/MiqSshUtilV2.rb#L256-L258 |
This file contains hidden or 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
#!/bin/bash | |
USAGE="$0 -f [FORMAT] | |
FORMAT long|med|short | |
" | |
DB="vmdb_development" | |
FORMAT="short" |
To understand how the start_server
script works, see the MIQ guides on minimal server mode.
This file contains hidden or 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
From 8cc5af18af1db13f07bb537c49fd2b0a844122c5 Mon Sep 17 00:00:00 2001 | |
From: Greg Blomquist <[email protected]> | |
Date: Fri, 3 Jun 2016 11:59:18 -0400 | |
Subject: [PATCH] PAUSED: Use `git resume` to continue working. | |
--- | |
.../layouts/angular-bootstrap/_endpoints_angular.html.haml | 14 ++++++++++++-- | |
.../layouts/angular/_multi_auth_credentials.html.haml | 4 ++++ | |
app/views/shared/views/ems_common/angular/_form.html.haml | 10 ++++++++++ | |
3 files changed, 26 insertions(+), 2 deletions(-) |
This file contains hidden or 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
diff --git a/app/controllers/ems_common.rb b/app/controllers/ems_common.rb | |
index 4ecc903..b6f6a79 100644 | |
--- a/app/controllers/ems_common.rb | |
+++ b/app/controllers/ems_common.rb | |
@@ -596,6 +596,7 @@ module EmsCommon | |
end | |
@edit[:openstack_api_versions] = retrieve_openstack_api_versions | |
+ @edit[:nuage_api_versions] = retrieve_nuage_api_versions | |
OlderNewer