Statistics
| Branch: | Revision:

root / example / instance-image.d / interfaces @ c2fca018

History | View | Annotate | Download (3 kB)

# Date Author Comment
abade4ea 02/12/2010 12:27 am Lance Albertson

Add get_os and get_os_release functions, refacter get_os_type

get_os:
Returns the exact operating system

get_os_release:
Returns the release of the operating system

Switch get_os_type to use an argument for the target location and also ensure
that it gets checked.

6f258fa8 02/10/2010 02:40 am Lance Albertson

Clean up interface setup

  • Use INSTANCE_NAME instead of doing a dns lookup
  • Use a short dns name for gentoo instead of fqdn
e7a2d1ad 02/05/2010 01:59 am Lance Albertson

Refactor debugging code to be saner and actually work

08abb89f 02/04/2010 08:07 pm Lance Albertson

Move "main" actions below the functions so they know what they are

f6f223b8 02/03/2010 11:30 pm Lance Albertson

Move OS detection to common.sh to make it portable for other scripts

Also refactor how we use it in interfaces

e0f1ce56 02/03/2010 11:09 pm Lance Albertson

code cleanup, remove bits we don't use from the debootstrap import

f1afb4b1 02/03/2010 08:23 pm Lance Albertson

Add OSU Copyright headers

c6253116 02/03/2010 08:19 pm Lance Albertson

Force exit on error

611fa6b0 02/03/2010 08:18 pm Lance Albertson

Create IMAGE_DEBUG variable to enable debugging output

DEBUG_LEVEL isn't working yet in ganeti [1], so lets add an option so we can at
least use something.

[1] http://groups.google.com/group/ganeti/browse_thread/thread/948ec6705ae69798

0cba7e2a 02/03/2010 02:54 am Lance Albertson

don't escape characters when setting up the network

b4577d12 02/03/2010 01:54 am Lance Albertson

MAC addresses should always be uppercase

e84e87cd 02/02/2010 11:50 pm Lance Albertson

If debug is set, show commands in log file

b7b2af95 02/02/2010 11:47 pm Lance Albertson

check for OS's inside of the image, not the system itself. doh

e1d2d9bd 02/02/2010 08:44 pm Lance Albertson

Make sure we source common.sh

cfc6ba79 02/02/2010 08:34 pm Lance Albertson

ensure that net.eth0 is enabled on gentoo

6fc975e1 02/02/2010 08:00 pm Lance Albertson

Add support for setting up networking on Gentoo, Redhat, Debian, and Suse based systems

For now it only supports DHCP

775f4f72 02/02/2010 02:16 am Lance Albertson

rename to correct name