~ubuntu-branches/ubuntu/trusty/landscape-client/trusty-proposed

« back to all changes in this revision

Viewing changes to dev/landscape-client-vm

  • Committer: Bazaar Package Importer
  • Author(s): Free Ekanayaka
  • Date: 2010-04-07 16:27:45 UTC
  • mfrom: (1.1.14 upstream) (24.1.1 karmic-proposed)
  • Revision ID: james.westby@ubuntu.com-20100407162745-oeyoppvl0qyvii55
Tags: 1.5.0-0ubuntu0.10.04.0
* New upstream version (LP: #557244)
  - Fix package-changer running before smart-update has completed (LP: #542215)
  - Report the version of Eucalyptus used to generate topology data (LP: #554007)
  - Enable the Eucalyptus plugin by default, if supported (LP: #546531)
  - Use a whitelist of allowed filesystem types to instead of a blacklist (LP: #351927)
  - Report the update-manager logs to the server (LP: #503384)
  - Turn off Curl's DNS caching for requests. (LP: #522688)

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
 
3
3
help () {
4
4
    cat <<EOF
5
 
$0 [OPTION] ... <release>: build a landscape-client VM for the specified release
6
 
 
7
 
Available options:
 
5
$0 [OPTION] ... <release>: build a landscape-client VM
 
6
for the specified release. Available options:
8
7
 
9
8
  -m, --mirror <mirror>      The Ubuntu mirror to use to build the VM, and
10
9
                             for the APT sources inside the VM itself.
11
 
 
12
 
                             If you want to use apt-proxy, you have to modify the
13
 
                             apt-proxy-v2.conf file to make apt-proxy listen to
14
 
                             your actual network interface address, instead of
15
 
                             the loopback one. For example:
16
 
 
17
 
                             ;; Server IP to listen on
18
 
                             address = 192.168.1.162
19
 
 
 
10
                             If you want to use apt-proxy, you have to
 
11
                             modify the apt-proxy-v2.conf file to make
 
12
                             apt-proxy listen to your actual network
 
13
                             interface address, instead of the loopback one.
 
14
                             For example:
 
15
                                 ;; Server IP to listen on
 
16
                                 address = 192.168.1.162
20
17
  -s, --server <host>        The hostname of the Landscape server the client
21
18
                             should connect to.
22
 
 
23
19
  -a, --account <account>    The name of the Landscape account to use.
24
 
 
25
20
  -p, --password <password>  The password for the Landscape account.
26
 
 
27
 
  -P, --profile <profile>    Package profile to use, can be server or desktop.
28
 
 
29
 
  -k, --ssl-key <key>        Specify an SSL key to be used in the client config.
30
 
 
 
21
  -P, --profile <profile>    Package profile to use, can be server or
 
22
                             desktop.
 
23
  -k, --ssl-key <key>        Specify an SSL key to be used in the client
 
24
                             config.
31
25
  -r, --repository <ppa>     Specify the PPA holding the client packages.
32
 
 
33
 
  -b, --build <yes|no>       If yes, the landscape-client packages from this branch
34
 
                             will be built and installed inside the VM, otherwise
35
 
                             they will be pulled from the APT repositories.
 
26
  -b, --build <yes|no>       If yes, the landscape-client packages from this
 
27
                             branch will be built and installed inside the
 
28
                             VM, otherwise they will be pulled from the APT
 
29
                             repositories.
36
30
 
37
31
For example, this script can be invoked like this:
38
32
 
39
33
./dev/landscape-client-vm --password <LANDSCAPE_DEVEL_ACCOUNT_PW> intrepid
40
34
 
41
 
where <LANDSCAPE_DEVEL_ACCOUNT_PW> is the account password of the landscape-devel
42
 
account on the Landscape staging server (or you can specify another account with
43
 
the --account parameter).
 
35
where <LANDSCAPE_DEVEL_ACCOUNT_PW> is the account password of the
 
36
landscape-devel account on the Landscape staging server (or you can specify
 
37
another account with the --account parameter).
44
38
 
45
39
The built VM will be stored under ./build/intrepid along with some other
46
 
files. To launch the VM, cd to ./build/intrepid and issue:
47
 
 
48
 
./run
49
 
 
 
40
files. To launch the VM, cd to ./build/intrepid and issue: 
 
41
$ ./run
50
42
Once it's booted you can log into it with:
51
 
 
52
 
./ssh
53
 
 
 
43
$ ./ssh
54
44
EOF
55
45
}
56
46