ooo-quickstart
All in one(single physical node deployment)
adduser NON-ROOT-USER -G wheel
passwd NON-ROOT-USER
# login as NON-ROOT-USER
ssh-keygen
export VIRTHOST=127.0.0.2
ssh-copy-id root@$VIRTHOST
config interface 'loopback' | |
option ifname 'lo' | |
option proto 'static' | |
option ipaddr '127.0.0.1' | |
option netmask '255.0.0.0' | |
config interface 'lan' | |
option ifname 'eth0' | |
option type 'bridge' |
--- | |
- hosts: all | |
become: yes | |
become_user: root | |
vars: | |
appliance_file_name: "https_{{ appliance_name }}" | |
tasks: | |
- name: SAML configuration dir |
# Author: Niladri Roy <niroy@redhat.com> | |
# Usage: | |
# 1) without specifing evm.log file | |
# curl -s https://gist.githubusercontent.com/psachin/36c7e4ff04bdd0a07a64065d0c477eaf/raw | bash - | |
# 2) specify file name | |
# curl -s https://gist.githubusercontent.com/psachin/36c7e4ff04bdd0a07a64065d0c477eaf/raw | bash -s evm.log-20171103 | |
if [ -z $1 ]; | |
then | |
EVM="evm.log" |
diff --git a/lisp/battery.el b/lisp/battery.el | |
index b1834f06ff8d..dd0b8f652426 100644 | |
--- a/lisp/battery.el | |
+++ b/lisp/battery.el | |
@@ -58,7 +58,7 @@ | |
((and (eq system-type 'gnu/linux) | |
(file-directory-p "/proc/acpi/battery")) | |
#'battery-linux-proc-acpi) | |
- ((and (eq system-type 'gnu/linux) | |
+ ((and (or (eq system-type 'gnu/linux) (eq system-type 'gnu)) |
Gnocchi Archive policies | |
========================= | |
1. Capture data every 1 minute for 1 day | |
[heat-admin@overcloud-controller-2 ~]$ gnocchi archive-policy create 1min1day -d granularity:1m,timespan:1d | |
+---------------------+----------------------------------------------------------------+ | |
| Field | Value | | |
+---------------------+----------------------------------------------------------------+ | |
| aggregation_methods | std, count, 95pct, min, max, sum, median, mean | | |
| back_window | 0 | |
adduser NON-ROOT-USER -G wheel
passwd NON-ROOT-USER
# login as NON-ROOT-USER
ssh-keygen
export VIRTHOST=127.0.0.2
ssh-copy-id root@$VIRTHOST
# Adapted from solution provided by http://stackoverflow.com/users/57719/chin-huang http://stackoverflow.com/a/31465939/348868 | |
# Scenario: You want to add a group to the list of the AllowGroups in ssh_config | |
# before: | |
# AllowGroups Group1 | |
# After: | |
# AllowGroups Group1 Group2 | |
- name: Add Group to AllowGroups | |
replace: | |
backup: yes |
heat_template_version: 2016-10-14 | |
description: Simple template to deploy a single compute instance. Need to change image name | |
parameters: | |
image: | |
type: string | |
description: Image name or id | |
default: cirros |
# Single script to setup ManageIQ development environment on Fedora | |
# Usage: | |
# - It is recommended to have fresh(and dedicated) Fedora installation | |
# - Download THIS script and execute using the command | |
# ~~~ | |
# bash setup_manageiq_fedora.sh | |
# ~~~ | |
# Tested on Fedora 24, 25 |
[[local|localrc]] | |
HOST_IP=10.65.10.65 | |
SERVICE_HOST=10.65.10.65 | |
MYSQL_HOST=localhost | |
RABBIT_HOST=10.65.10.65 | |
GLANCE_HOSTPORT=10.65.10.65:9292 | |
ADMIN_PASSWORD=redhat | |
DATABASE_PASSWORD=redhat | |
RABBIT_PASSWORD=redhat | |
SERVICE_PASSWORD=redhat |