Skip to content

Instantly share code, notes, and snippets.

@thisismiller
Created April 25, 2012 04:37
Show Gist options
  • Select an option

  • Save thisismiller/2486411 to your computer and use it in GitHub Desktop.

Select an option

Save thisismiller/2486411 to your computer and use it in GitHub Desktop.
diff -r -u -N -x lib -x dev fresh/etc/group mnt/etc/group
--- fresh/etc/group 2011-04-14 11:36:18.000000000 -0500
+++ mnt/etc/group 2012-04-21 00:03:53.000000000 -0500
@@ -39,3 +39,4 @@
nogroup:x:65534:
libuuid:x:101:
crontab:x:102:
+uml:x:1001:uml
diff -r -u -N -x lib -x dev fresh/etc/gshadow mnt/etc/gshadow
--- fresh/etc/gshadow 2011-04-14 11:36:18.000000000 -0500
+++ mnt/etc/gshadow 2012-04-21 00:04:10.000000000 -0500
@@ -39,3 +39,4 @@
nogroup:*::
libuuid:!::
crontab:!::
+uml:*::
diff -r -u -N -x lib -x dev fresh/etc/hostname mnt/etc/hostname
--- fresh/etc/hostname 1969-12-31 18:00:00.000000000 -0600
+++ mnt/etc/hostname 2012-04-20 23:42:15.000000000 -0500
@@ -0,0 +1 @@
+IAmUML
diff -r -u -N -x lib -x dev fresh/etc/network/interfaces mnt/etc/network/interfaces
--- fresh/etc/network/interfaces 2012-02-13 09:49:46.000000000 -0600
+++ mnt/etc/network/interfaces 2012-04-22 21:28:23.000000000 -0500
@@ -6,4 +6,12 @@
iface lo inet loopback
auto eth0
-iface eth0 inet dhcp
+iface eth0 inet static
+ address 192.168.0.2
+ netmask 255.255.255.0
+ gateway 192.168.0.1
+ dns-domain uml.dev
+ dns-nameservers 8.8.8.8
+ up route del -net 192.168.0.0 dev eth0 netmask 255.255.255.0
+ up route add -host 192.168.0.1 dev eth0
+ down route del -host 192.168.0.1 dev eth0
diff -r -u -N -x lib -x dev fresh/etc/passwd mnt/etc/passwd
--- fresh/etc/passwd 2011-04-18 05:55:43.000000000 -0500
+++ mnt/etc/passwd 2012-04-21 00:02:24.000000000 -0500
@@ -17,3 +17,4 @@
gnats:x:41:41:Gnats Bug-Reporting System (admin):/var/lib/gnats:/bin/sh
nobody:x:65534:65534:nobody:/nonexistent:/bin/sh
libuuid:x:100:101::/var/lib/libuuid:/bin/sh
+uml:x:1001:1001:uml:/home/uml:/bin/sh
diff -r -u -N -x lib -x dev fresh/etc/resolv.conf mnt/etc/resolv.conf
--- fresh/etc/resolv.conf 2012-03-15 04:29:35.000000000 -0500
+++ mnt/etc/resolv.conf 2012-04-22 21:08:30.000000000 -0500
@@ -1 +1,3 @@
# insert your own settings here!
+domain miller.dev
+nameserver 8.8.8.8
diff -r -u -N -x lib -x dev fresh/etc/shadow mnt/etc/shadow
--- fresh/etc/shadow 2011-04-18 05:55:49.000000000 -0500
+++ mnt/etc/shadow 2012-04-21 00:07:46.000000000 -0500
@@ -17,3 +17,4 @@
gnats:*:15078:0:99999:7:::
nobody:*:15078:0:99999:7:::
libuuid:!:15078:0:99999:7:::
+uml:$6$SALTSALT$9VqyF6ozt8fwh93glmCedXdS6Dd.hxtIk42wcIJa2/59sitYUSN5vgFAaj7Q.JVclz1JQIjxrvmQT8Gn0aoRL0:15337:0:99999:7:::
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment