File: ttylinux.one

package info (click to toggle)
opennebula 3.4.1-3.1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 9,680 kB
  • sloc: cpp: 35,288; ruby: 24,818; sh: 5,212; java: 4,001; xml: 1,163; yacc: 821; sql: 252; lex: 216; ansic: 192; makefile: 91; python: 46
file content (22 lines) | stat: -rw-r--r-- 645 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
NAME   = myttyserver
CPU    = 0.1
MEMORY = 64
DISK   = [
  source   = "/home/srv/cloud/images/ttylinux.0.4.img",
  target   = "hda",
  readonly = "no" ]
NIC    = [ NETWORK = "Red Virtual" ]

FEATURES=[ acpi="no" ]
RAW = [ type = "kvm", data = " <serial type='pty'> <source path='/dev/pts/3'/> <target port='1'/> </serial>" ]

# Context example
CONTEXT = [
  hostname   = "$NAME",
	ip_public = "$NIC[IP, NETWORK=\"Red Virtual\"]",
	files				= "/home/oneadmin/one-templates/ttylinux/init.sh /home/oneadmin/one-templates/ttylinux/id_dsa.pub",
  target     = "hdc",
	root_pubkey = "id_dsa.pub",
	username = "oneadmin",
	user_pubkey = "id_dsa.pub"
]