Merge lp:~evilnick/maas/rm-import-pxe-references into lp:~maas-committers/maas/trunk

Proposed by Nick Veitch
Status: Merged
Approved by: Nick Veitch
Approved revision: no longer in the source branch.
Merged at revision: 1356
Proposed branch: lp:~evilnick/maas/rm-import-pxe-references
Merge into: lp:~maas-committers/maas/trunk
Diff against target: 184 lines (+14/-59)
6 files modified
.bzrignore (+1/-0)
INSTALL.txt (+10/-9)
Makefile (+1/-0)
docs/man/maas-cli.8.rst (+1/-1)
docs/man/maas-import-pxe-files.8.rst (+0/-48)
docs/man/maas.8.rst (+1/-1)
To merge this branch: bzr merge lp:~evilnick/maas/rm-import-pxe-references
Reviewer Review Type Date Requested Status
Gavin Panella (community) Approve
Review via email: mp+135202@code.launchpad.net

Commit message

Removing references to maas-import-pxe-files from the docs and man pages

Description of the change

removed references to maas-import-pxe files in the text
removed the man page for maas-import-pxe-files
tidied up the Makefile

To post a comment you must log in.
Revision history for this message
Gavin Panella (allenap) wrote :

[1]

In Makefile, can you change:

+ $(RM) man/*

to:

       $(RM) -r man

(It's what the Daleks would chant if they knew Unix.)

review: Approve
Revision history for this message
Nick Veitch (evilnick) wrote :

On 20/11/12 20:44, Gavin Panella wrote:
> Review: Approve
>
> [1]
>
> In Makefile, can you change:
>
> + $(RM) man/*
>
> to:
>
> $(RM) -r man
>
> (It's what the Daleks would chant if they knew Unix.)
>
sure, i didn't know if we wanted to remove the directory or not

--
Nick Veitch,
Technical Writer, Cloud Engineering, Canonical
https://launchpad.net/~evilnick

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file '.bzrignore'
2--- .bzrignore 2012-09-03 17:35:47 +0000
3+++ .bzrignore 2012-11-21 10:28:58 +0000
4@@ -31,3 +31,4 @@
5 ./TAGS
6 ./tags
7 dropin.cache
8+./man
9
10=== modified file 'INSTALL.txt'
11--- INSTALL.txt 2012-10-04 15:14:12 +0000
12+++ INSTALL.txt 2012-11-21 10:28:58 +0000
13@@ -144,15 +144,16 @@
14 ----------------------
15
16 MAAS will check for and download new Ubuntu images once a week.
17-However, you'll need to download them manually the first time::
18-
19- $ sudo maas-import-pxe-files
20-
21-If you are using an HTTP proxy, bear in mind that the "sudo" will not
22-pass your http_proxy environment variable on to the script. If that is
23-a problem, pass it on explicitly::
24-
25- $ sudo http_proxy=$http_proxy maas-import-pxe-files
26+However, you'll need to download them manually the first time. To do this you will need to
27+connect to the MAAS API using the maas-cli tool. (see :ref:`api_key` for details of logging
28+in).
29+Then you need to run the command::
30+
31+ $ maas-cli maas node-groups import-boot-images
32+
33+(substitute in a different profile name for 'maas' if you have called yours something else)
34+This will initiate downloading the required image files. Note that this may take some time
35+depending on your network connection.
36
37
38 Login to the server
39
40=== modified file 'Makefile'
41--- Makefile 2012-10-25 15:26:16 +0000
42+++ Makefile 2012-11-21 10:28:58 +0000
43@@ -159,6 +159,7 @@
44 $(RM) celerybeat-schedule
45 $(RM) docs/api.rst
46 $(RM) -r docs/_autosummary
47+ $(RM) -r man/
48
49 distclean: clean stop
50 $(RM) -r bin include lib local
51
52=== modified file 'docs/man/maas-cli.8.rst'
53--- docs/man/maas-cli.8.rst 2012-11-19 11:39:07 +0000
54+++ docs/man/maas-cli.8.rst 2012-11-21 10:28:58 +0000
55@@ -23,6 +23,6 @@
56
57 See Also
58 ^^^^^^^^
59-`maas`, `maas-import-pxe-files`
60+`maas`
61
62
63
64=== added file 'docs/man/maas-import-pxe-files.8.rst'
65--- docs/man/maas-import-pxe-files.8.rst 1970-01-01 00:00:00 +0000
66+++ docs/man/maas-import-pxe-files.8.rst 2012-11-21 10:28:58 +0000
67@@ -0,0 +1,51 @@
68+maas-import-pxe-files
69+---------------------
70+
71+USAGE
72+^^^^^
73+
74+maas-import-pxe-files [-h, --help]
75+
76+DESCRIPTION
77+^^^^^^^^^^^
78+
79+This is a helper script for the MAAS software. It downloads Ubuntu
80+images and organises them for use by MAAS in commissioning nodes.
81+The script is usually run regularly by a cron task, though it
82+needs to be run manually the first time a MAAS system is installed.
83+Images that are already in place are kept unchanged, unless the
84+version in the archive has since been updated.
85+
86+The script reads a configuration file /etc/maas/import_pxe_files in
87+order to determine:
88+
89+**ARCHIVE:**
90+Location of the Ubuntu download archive
91+
92+**RELEASES:**
93+Ubuntu releases to download
94+
95+**ARCHES:**
96+Architectures for which images should be downloaded
97+
98+To support development setups that run directly from a code branch,
99+it will also look for /etc/maas/import_pxe_files relative to the
100+current directory.
101+
102+The script uses `wget` to download the kernel and initrd image for
103+each architecture in ARCHES and each release in RELEASES. In addition
104+it copies the Intel-architecture pre-boot loader `pxelinux.0` (plus
105+some of its modules such as `chain.c32`) from its installed location in
106+/usr/lib/syslinux/.
107+
108+These images are the minimum that's required to start installing a node.
109+During installation, a node may download its packages over the network.
110+
111+
112+Further Documentation
113+^^^^^^^^^^^^^^^^^^^^^
114+For more documentation of MAAS, please see https://maas.ubuntu.com/docs
115+
116+See Also
117+^^^^^^^^
118+`maas`, `maas-cli`
119
120=== removed file 'docs/man/maas-import-pxe-files.8.rst'
121--- docs/man/maas-import-pxe-files.8.rst 2012-11-19 11:44:17 +0000
122+++ docs/man/maas-import-pxe-files.8.rst 1970-01-01 00:00:00 +0000
123@@ -1,48 +0,0 @@
124-maas-import-pxe-files
125----------------------
126-
127-USAGE
128-^^^^^
129-
130-maas-import-pxe-files [-h, --help]
131-
132-DESCRIPTION
133-^^^^^^^^^^^
134-
135-This is a helper script for the MAAS software. It downloads Ubuntu
136-images and organises them for use by MAAS in commissioning nodes.
137-The script is usually run regularly by a cron task, though it
138-needs to be run manually the first time a MAAS system is installed.
139-Images that are already in place are kept unchanged, unless the
140-version in the archive has since been updated.
141-
142-The script reads a configuration file /etc/maas/import_pxe_files in
143-order to determine:
144-
145-**ARCHIVE:** Location of the Ubuntu download archive
146-
147-**RELEASES:** Ubuntu releases to download
148-
149-**ARCHES:** Architectures for which images should be downloaded
150-
151-To support development setups that run directly from a code branch, it will
152-also look for /etc/maas/import_pxe_files relative to the current
153-directory.
154-
155-The script uses `wget` to download the kernel and initrd image for
156-each architecture in ARCHES and each release in RELEASES. In addition it
157-copies the Intel-architecture pre-boot loader `pxelinux.0` (plus some
158-of its modules such as `chain.c32`) from its installed location in
159-/usr/lib/syslinux/.
160-
161-These images are the minimum that's required to start installing a node.
162-During installation, a node may download its packages over the network.
163-
164-
165-Further Documentation
166-^^^^^^^^^^^^^^^^^^^^^
167-For more documentation of MAAS, please see https://maas.ubuntu.com/docs
168-
169-See Also
170-^^^^^^^^
171-`maas`, `maas-cli`
172
173=== modified file 'docs/man/maas.8.rst'
174--- docs/man/maas.8.rst 2012-11-19 11:40:18 +0000
175+++ docs/man/maas.8.rst 2012-11-21 10:28:58 +0000
176@@ -37,5 +37,5 @@
177
178 See Also
179 ^^^^^^^^
180-`maas-cli`, `maas-import-pxe-files`
181+`maas-cli`
182
183
184=== removed directory 'man'