Merge lp:~tribaal/ubumirror/fix-example-config-file into lp:ubumirror

Proposed by Chris Glass
Status: Merged
Merged at revision: 74
Proposed branch: lp:~tribaal/ubumirror/fix-example-config-file
Merge into: lp:ubumirror
Diff against target: 86 lines (+30/-30)
1 file modified
ubumirror.conf (+30/-30)
To merge this branch: bzr merge lp:~tribaal/ubumirror/fix-example-config-file
Reviewer Review Type Date Requested Status
Ubumirror Developers Pending
Review via email: mp+222423@code.launchpad.net

Description of the change

This branch simply repacks the suggested fixes to the config file (see linked bug) in an easy-to-merge format.

To test:
- Spin a fresh system up (LXC etc...)
- Install this branch (build the deb locally and dpkg -i it)
- Uncomment the UBUARC_DIR bash variable.
- Run /usr/bin/ubuarchive and assert no errors show in the log file.

To post a comment you must log in.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'ubumirror.conf'
2--- ubumirror.conf 2010-03-13 06:43:00 +0000
3+++ ubumirror.conf 2014-06-07 08:34:32 +0000
4@@ -1,5 +1,5 @@
5 #
6-# ubumirror.conf - configuration file for the ubumirror scripts.
7+# ubumirror.conf - configuration file for the ubumirror scripts.
8 #
9
10 # Please set the variables below to fit your site.
11@@ -7,7 +7,8 @@
12 EMAIL=root@localhost
13
14 # Server's FQDN.
15-HOSTNAME=$(hostname -f)
16+#HOSTNAME=$(hostname -f)
17+HOSTNAME=$(hostname)
18
19 # Bandwidth limit for all mirror scripts - set to 0 for no limit.
20 SPEED=0
21@@ -32,11 +33,11 @@
22 LOGDIR="/var/log/ubumirror/"
23
24 # UBU{ARC,CDI,REL}_MIRROR is the rsync path in the form of host::directory/ of the
25-# upstream mirrors where the ubumirror scripts will mirror from.
26-UBUARC_MIRROR=archive.ubuntu.com::ubuntu/
27-UBUCDI_MIRROR=cdimage.ubuntu.com::cdimage/
28-UBUREL_MIRROR=rsync.releases.ubuntu.com::releases/
29-UBUPOR_MIRROR=ports.ubuntu.com::ubuntu-ports/
30+# upstream mirrors where the ubumirror scripts will mirror from.
31+UBUARC_MIRROR=rsync://rsync.archive.ubuntu.com/ubuntu
32+UBUCDI_MIRROR=rsync://rsync.cdimage.ubuntu.com/cdimage
33+UBUREL_MIRROR=rsync://rsync.releases.ubuntu.com/releases
34+UBUPOR_MIRROR=rsync://rsync.ports.ubuntu.com/ubuntu-ports
35
36 # UBUCDI_FLAVOURS is the set of image flavours to pull from UBICDI_MIRROR
37 # flavour names must match directory names on the mirror
38@@ -46,26 +47,25 @@
39 "
40
41 # UBU{ARC,CDI,REL}_EXCLUDE is what things you want to exclude
42-UBUARC_EXCLUDE="\
43-# --exclude binary-powerpc/ --exclude binary-sparc/ \
44-# --exclude daily-installer-powerpc/ --exclude daily-installer-sparc/ \
45-# --exclude installer-powerpc/ --exclude installer-sparc/ \
46-# --exclude *_powerpc.deb --exclude *_powerpc.udeb \
47-# --exclude *_sparc.deb --exclude *_sparc.udeb \
48-# --exclude Contents-powerpc.gz --exclude Contents-sparc.gz \
49-"
50-UBUCDI_EXCLUDE="\
51-# --exclude *-powerpc.* --exclude *-sparc.* \
52-# --exclude source/ \
53-"
54-UBUREL_EXCLUDE="\
55-# --exclude *-powerpc.* --exclude *-sparc.* \
56-"
57-UBUPOR_EXCLUDE="\
58-# --exclude binary-powerpc/ --exclude binary-sparc/ \
59-# --exclude daily-installer-powerpc/ --exclude daily-installer-sparc/ \
60-# --exclude installer-powerpc/ --exclude installer-sparc/ \
61-# --exclude *_powerpc.deb --exclude *_powerpc.udeb \
62-# --exclude *_sparc.deb --exclude *_sparc.udeb \
63-# --exclude Contents-powerpc.gz --exclude Contents-sparc.gz \
64-"
65+UBUARC_EXCLUDE=""
66+# --exclude binary-powerpc/ --exclude binary-sparc/ \
67+# --exclude daily-installer-powerpc/ --exclude daily-installer-sparc/ \
68+# --exclude installer-powerpc/ --exclude installer-sparc/ \
69+# --exclude *_powerpc.deb --exclude *_powerpc.udeb \
70+# --exclude *_sparc.deb --exclude *_sparc.udeb \
71+# --exclude Contents-powerpc.gz --exclude Contents-sparc.gz \
72+
73+UBUCDI_EXCLUDE=""
74+# --exclude *-powerpc.* --exclude *-sparc.* \
75+# --exclude source/ \
76+
77+UBUREL_EXCLUDE=""
78+# --exclude *-powerpc.* --exclude *-sparc.* \
79+
80+UBUPOR_EXCLUDE=""
81+# --exclude binary-powerpc/ --exclude binary-sparc/ \
82+# --exclude daily-installer-powerpc/ --exclude daily-installer-sparc/ \
83+# --exclude installer-powerpc/ --exclude installer-sparc/ \
84+# --exclude *_powerpc.deb --exclude *_powerpc.udeb \
85+# --exclude *_sparc.deb --exclude *_sparc.udeb \
86+# --exclude Contents-powerpc.gz --exclude Contents-sparc.gz \

Subscribers

People subscribed via source and target branches

to status/vote changes: