Skip to content

Instantly share code, notes, and snippets.

@nuthanc
nuthanc / games.txt
Created January 28, 2022 17:43
games
Ghostrunner
Rainbox Six Siege
Dishonored 2
Deathloop
Control
Call of duty warzone
[epel-testing]
name=Extra Packages for Enterprise Linux 7 - Testing - $basearch
# It is much more secure to use the metalink, but if you wish to use a local mirror
# place its address here.
#baseurl=http://download.example/pub/epel/testing/7/$basearch
metalink=https://mirrors.fedoraproject.org/metalink?repo=testing-epel7&arch=$basearch&infra=$infra&content=$contentdir
failovermethod=priority
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7
apiVersion: v1
kind: Pod
metadata:
name: busybox-pod
namespace: default
spec:
containers:
- image: busybox
name: busybox-container
command:
@nuthanc
nuthanc / commission_error.txt
Last active January 10, 2022 09:22
Error in loc /var/log/maas/rsyslog/juju/2022-01-09
2022-01-10T06:53:34-08:00 juju cloud-init[1079]: Err:1 http://archive.ubuntu.com/ubuntu bionic InRelease
2022-01-10T06:53:34-08:00 juju cloud-init[1079]: Could not connect to 192.168.7.18:8000 (192.168.7.18). - connect (111: Connection refused)
2022-01-10T06:53:34-08:00 juju cloud-init[1079]: Err:2 http://archive.ubuntu.com/ubuntu bionic-updates InRelease
2022-01-10T06:53:34-08:00 juju cloud-init[1079]: Unable to connect to 192.168.7.18:8000:
2022-01-10T06:53:34-08:00 juju cloud-init[1079]: Err:3 http://archive.ubuntu.com/ubuntu bionic-security InRelease
2022-01-10T06:53:34-08:00 juju cloud-init[1079]: Unable to connect to 192.168.7.18:8000:
2022-01-10T06:53:34-08:00 juju cloud-init[1079]: Err:4 http://archive.ubuntu.com/ubuntu bionic-backports InRelease
2022-01-10T06:53:34-08:00 juju cloud-init[1079]: Unable to connect to 192.168.7.18:8000:
2022-01-10T06:53:35-08:00 juju cloud-init[1079]: Reading package lists...
2022-01-10T06:53:35-08:00 juju cloud-init[1079]: W: Failed to fetch http://archive.ubunt
@nuthanc
nuthanc / README.md
Last active December 17, 2021 12:22
k8s deployment
yum install -y sshpass git
curl --retry 3 --retry-delay 10 https://bootstrap.pypa.io/pip/2.7/get-pip.py | sudo python2 - 'pip==20.1'
python2 -m pip install ansible==2.7.11
python2 -m pip install requests
 
git clone https://github.com/tungstenfabric/tf-ansible-deployer.git

cd tf-ansible-deployer
# Copy the instances.yaml file into tf-ansible-deployer/config/
@nuthanc
nuthanc / SchoolEvent.js
Created November 9, 2021 14:18
SchoolEvent and Student schema
import mongoose from 'mongoose';
import {
EVENT,
REGISTERED,
SCHOOL,
SCHOOL_EVENT,
STUDENT,
} from '../utils/constants.js';
import {
DefNumber,
@nuthanc
nuthanc / event.txt
Created November 6, 2021 01:42
Event hd
{
video: { title: '', link: '' },
availableClasses: { from: 3, to: 12 },
media: { poster: '' },
status: 'created',
tags: [
{ value: 'Special', check: false },
{ value: 'Art', check: false },
{ value: 'Boom', check: false },
{ value: 'New', check: false },
@nuthanc
nuthanc / focal.yaml
Created October 4, 2021 10:56
Focal bundle file
series: focal
variables:
docker-registry: &docker-registry "bng-artifactory.juniper.net/contrail-nightly"
image-tag: &image-tag "master.1681-ubi"
data-network: &data-network "192.168.27.0/24"
control-network: &control-network "192.168.7.0/24"
# vhost-gateway: &vhost-gateway "192.168.27.1"
applications:
contrail-agent:
@nuthanc
nuthanc / np.yaml
Created September 13, 2021 05:12
Cn2 sample network policy
apiVersion: networking.k8s.io/v1
kind: NetworkPolicy
metadata:
creationTimestamp: "2021-09-09T11:10:45Z"
finalizers:
- firewall-policy.finalizers.kube-manager.juniper.net/contrail
generation: 1
name: middleware-x9d7k2cc7c9e
namespace: cluster-ip
resourceVersion: "6750375"