[one-users] what do the attributes refer to in the CONTEXT in the ttylinux.one file?

Qiubo Su (David Su) qiubosu at gmail.com
Thu Dec 6 19:03:54 PST 2012


Dear OpenNebula Community,

Decompress the ttylinux.tar.gz, there is a ttylinux.one file with below
content:

NAME   = ttylinux
CPU    = 0.1
MEMORY = 64

DISK   = [ IMAGE_ID = 0 ]

NIC    = [ NETWORK_ID = 0 ]

FEATURES=[ acpi="no" ]

CONTEXT = [
    hostname    = "$NAME",
    ip_public   = "IP_PUBLIC",
    files      = "/path/to/init.sh /path/to/.ssh/id_rsa.pub",
    target      = "hdc",
    root_pubkey = "id_rsa.pub",
    username    = "opennebula",
    user_pubkey = "id_rsa.pub"
]

I only use one physical server for the installation of ubuntu OS,
opennebula front end, KVM hypervisor, VM instance with ttylinux image, i.e.
everything are installed in only one physical server.

The physical server is with hostname "host-1", private local IP
"192.168.25.100". The ttylinux image VM instance is with name "ttylinux",
private local IP "192.168.35.110" and username "root" to ssh passwordless
access into its OS.

I have some questions for the attributes of the CONTEXT in the ttylinux.one
file, for the setup of the system:

1) does the hostname refer to "host-1"?
2) what should the ip_public be?
3) what should the username be?

Please let me know if anything unclear.

Thank you for your help, much appreciated.

Thanks,
David Su
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20121207/412849da/attachment.htm>


More information about the Users mailing list