I hereby claim:
- I am fcharlier on github.
- I am nazgullien (https://keybase.io/nazgullien) on keybase.
- I have a public key whose fingerprint is 0C30 E0E1 FE72 055B 8A41 D83B 3068 0CAA 917C C2C2
To claim this, I am signing this object:
--- | |
username: FIXME_rhsm_username | |
password: FIXME_rhsm_password | |
autosubscribe: yes |
#!/usr/bin/env python3 | |
# -*- coding: utf-8 -*- | |
# import coloredlogs | |
import logging | |
import pprint | |
import requests | |
import sys | |
# Backup the the partitions geometry from another disk, rewrite the labels | |
(naz@celeri)~ % sudo gpart backup /dev/ada0 | sed -e 's/disk10/disk4/' -e 's/swap10/swap4/' > geom | |
# Restore the partitions geometry to the replacement disk | |
(naz@celeri)~ % sudo gpart restore -lF /dev/ada1 < geom | |
# Check | |
(naz@celeri)~ % sudo gpart show /dev/ada1 | |
=> 34 976773101 ada1 GPT (466G) | |
34 128 1 freebsd-boot (64K) |
subscription-manager register | |
# find / -name '69.pem' -delete | |
subscription-manager attach --auto | |
subscription-manager repos '--disable=*' --enable=rhel-7-server-rpms --enable=rhel-7-server-optional-rpms --enable=rhel-7-server-extras-rpms --enable=rhel-7-server-openstack-9-tools-rpms |
// ==UserScript== | |
// @name getpocketNoRedirect | |
// @namespace net.ploup | |
// @version 0.9 | |
// @description Rewrite getpocket.com/redirect links to direct links | |
// @author François Charlier <fcharlier@ploup.net> | |
// @match https://getpocket.com/a/queue/ | |
// @grant none | |
// ==/UserScript== | |
function getpocketNoRedirect() { |
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
# Copyright 2015 François Charlier <francois.charlier@enovance.com> | |
# | |
# Licensed under the Apache License, Version 2.0 (the "License"); | |
# you may not use this file except in compliance with the License. | |
# You may obtain a copy of the License at | |
# | |
# http://www.apache.org/licenses/LICENSE-2.0 |
#!/usr/bin/env python | |
# Copyright (c) 2015 François Charlier <francois.charlier@redhat.com> | |
# All rights reserved | |
# | |
# Licensed under the Apache License, Version 2.0 (the "License"); you may | |
# not use this file except in compliance with the License. You may obtain | |
# a copy of the License at | |
# | |
# http://www.apache.org/licenses/LICENSE-2.0 |
#!/bin/bash | |
# Copyright © 2015 François Charlier <fcharlier@ploup.net> | |
# | |
# Licensed under the Apache License, Version 2.0 (the "License"); | |
# you may not use this file except in compliance with the License. | |
# You may obtain a copy of the License at | |
# | |
# http://www.apache.org/licenses/LICENSE-2.0 | |
# |
I hereby claim:
To claim this, I am signing this object:
diff --git a/neutron/services/metering/drivers/iptables/iptables_driver.py b/neutron/services/metering/drivers/iptables/iptables_driver.py | |
index 6c32905..d0faf52 100644 | |
--- a/neutron/services/metering/drivers/iptables/iptables_driver.py | |
+++ b/neutron/services/metering/drivers/iptables/iptables_driver.py | |
@@ -268,20 +268,26 @@ class IptablesMeteringDriver(abstract_driver.MeteringAbstractDriver): | |
continue | |
for label_id, label in rm.metering_labels.items(): | |
- chain = iptables_manager.get_chain_name(WRAP_NAME + LABEL + | |
- label_id, wrap=False) |