Module: Yast::LxcHelpsInclude

Defined in:
../../src/include/lxc/helps.rb

Instance Method Summary (collapse)

Instance Method Details

- (Object) initialize_lxc_helps(include_target)



30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
# File '../../src/include/lxc/helps.rb', line 30

def initialize_lxc_helps(include_target)
  textdomain "lxc"

  # All helps are here
  @HELPS = {
    # Read dialog help
    "read"     => _(
      "<p><b><big>Initializing LXC Configuration</big></b><br>\nPlease wait...<br></p>\n"
    ),
    # Overview dialog help, part 1
    "overview" => _(
      "<p><b><big>LXC Overview</big></b><br>\n" +
        "Here, see the list of configured Linux Containers (LXC) with their current status.\n" +
        "<p>Use <b>Create</b> to create new container. Delete existing one with <b>Destroy</b>.\n" +
        "</p>"
    ) +
      # Overview dialog help, part 2
      _(
        "<p>You can start selected container with <b>Start</b>. The container is started in background. You can connect to it using <b>Connect</b> button or manually using <tt>lxc-console</tt> command. Once in console, you can close it from within or using the <b>Disconnect</b> button.</p>\n<p>Note that <b>Connect</b> option is not available in text mode.</p>"
      ),
    # Create dialog help, part 1
    "create"   => _(
      "<p><b><big>Creating New Container</big></b></p>"
    ) +
      # Create dialog help, part 2
      _(
        "<p>Choose a <b>Name</b> for your container, select a base <b>Template</b>, and enter desired network settings.</p>"
      ) +
      # Create dialog help, part 3
      _(
        "<p>Use the value <tt>0.0.0.0</tt> as <b>IP Address</b> to have dynamic address assigned by DHCP. If there's no bridge device configured yet, use the <b>Configure Network</b> button and create one.</p>"
      ) +
      # Create dialog help, part 4
      _(
        "<p>Select a password to use for a system administrator ('root') in the container. If no password is entered, the default value <tt>root</tt> will be used.</p>"
      ) +
      # Create dialog help, part 5
      _("<p>Use <b>Create</b> to start the creation process.</p>")
  } 

  # EOF
end