Skip to content

Instantly share code, notes, and snippets.

<data type="group">
  <checksum type="sha256">34bae2d3c9c78e04ed2429923bc095005af1b166d1a354422c4c04274bae0f59</checksum>
  <location href="repodata/34bae2d3c9c78e04ed2429923bc095005af1b166d1a354422c4c04274bae0f59-c6-minimal-x86_64.xml"/>
  <timestamp>1385727295.83</timestamp>
  <size>11862</size>
</data>
Update the repo
cd min_iso/
cd /home/iso
ISOFILE=$PWD.iso
PACKAGER="Chandan"
ISONAME="CentOS 6.5"
ISODATE="`date -I`"
sudo mkisofs -r -R -J -T -v -no-emul-boot \
    -boot-load-size 4 \
    -boot-info-table \
    -V "$ISONAME" \
default vesamenu.c32
serial 0 115200
menu title Welcome to CentOS 6.5!
label linux
menu label ^Install or Upgrade system
menu default
kernel vmlinuz console=tty0 console=ttyS0,115200n8
append initrd=initrd.img ks=cdrom:/ks.cfg serial
label vesa
install
cdrom
lang en_US.UTF-8
keyboard us
network --onboot yes --device eth2 --bootproto dhcp --hostname myhost
rootpw  password
firewall --service=ssh
text
authconfig --enableshadow --passalgo=sha512
selinux --enforcing
@kchandan
kchandan / ansible-deploy-aws
Created November 13, 2017 04:41
aws-ansible-script
---
# Talk to all hosts just so we can learn about them...
- name: Create a sandbox instance
hosts: localhost
gather_facts: False
vars:
keypair: my_keypair
instance_type: t2.micro
image: ami-d1315fb1
region: us-west-1