Skip to content

Instantly share code, notes, and snippets.


Francesco Pantano fmount

View GitHub Profile
View manila_csi_operator.patch
diff --git a/assets/controller.yaml b/assets/controller.yaml
index 4177f05..2733cb1 100644
--- a/assets/controller.yaml
+++ b/assets/controller.yaml
@@ -2,7 +2,7 @@ kind: Deployment
apiVersion: apps/v1
name: openstack-manila-csi-controllerplugin
- namespace: openshift-manila-csi-driver
+ namespace: manila-csi-driver
fmount /
Last active Mar 31, 2021
Destroy a cephadm deployed Ceph cluster
set -x
cephadm rm-cluster --fsid $fsid --force
source /etc/os-release
sudo systemctl stop tripleo_\*
sudo systemctl stop ceph\*
sudo pcs cluster destroy
if [ $VERSION_ID == "7" ]; then
sudo docker ps -a -q | xargs docker rm -f
fmount /
Created Mar 31, 2021
Deploy a standalone OpenStack via TripleO
export IP=
export NETMASK=24
export INTERFACE=eth1
function gen_cont {
openstack tripleo container image prepare default \
--output-env-file "$HOME"/containers-prepare-parameters.yaml
function gen_config {
View g_chroot.c
#include <stdio.h>
#include <unistd.h>
int enter_chroot(const char * root) {
/* chroot */
if (chroot(root) != 0) {
return 1;

Keybase proof

I hereby claim:

  • I am fmount on github.
  • I am fmount ( on keybase.
  • I have a public key ASAwiWq2Rq3QNUjLJP_d4Hn10KJfMBxLzOpPmSRdUnJDGgo

To claim this, I am signing this object:

fmount / fcntl_lock.c
Created Oct 24, 2017
Try to acquire lock on a given resource (file) on fs using the flock
View fcntl_lock.c
int main(int argc, char **argv)
int fd;
struct flock fl;
View gist:1bff0871e1982a87def2914a4c30b756
# Load default .tmux.conf
source-file ~/.tmux.conf
split-window -v -p 45 -c ~/
select-pane -t 0
#send-keys 'ls -lart' Enter
split-window -h -p 50 -c ~/
select-pane -t 1
split-window -v -p 50 -c ~/
View opstack_chain.yaml
heat_template_version: 2015-04-30
description: >
Simple template to deploy lbaas with two httpd servers using heat orchestrator
type: string
description: tenant user roles