Merge lp:~jonathan-abdiel/ubumirror/ipv6 into lp:ubumirror

Proposed by Jonathan Gonzalez V.
Status: Needs review
Proposed branch: lp:~jonathan-abdiel/ubumirror/ipv6
Merge into: lp:ubumirror
Diff against target: 23 lines (+6/-0)
1 file modified
ubucloudimage (+6/-0)
To merge this branch: bzr merge lp:~jonathan-abdiel/ubumirror/ipv6
Reviewer Review Type Date Requested Status
Ubumirror Developers Pending
Review via email: mp+321804@code.launchpad.net
To post a comment you must log in.

Unmerged revisions

85. By Jonathan Gonzalez V.

Add IPV6 options to ubucloudimage

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'ubucloudimage'
2--- ubucloudimage 2017-03-31 02:35:35 +0000
3+++ ubucloudimage 2017-04-04 00:10:20 +0000
4@@ -30,6 +30,11 @@
5
6 LOGFILE="$LOGDIR/ubucloudimage.log"
7
8+PROTO="--ipv4"
9+if [ "$IPV6" -eq 1 ]; then
10+ PROTO="--ipv6"
11+fi
12+
13 # Log all activity to file.
14 exec >> $LOGFILE 2>&1
15
16@@ -70,6 +75,7 @@
17 rsync -av --partial --delete --delete-after \
18 --timeout=$IO_TIMEOUT \
19 --bwlimit=$SPEED \
20+ $PROTO \
21 --exclude ".trace/${HOSTNAME}" \
22 $UBUCLOUD_EXCLUDE \
23 $UBUCLOUD_MIRROR $UBUCLOUD_DIR

Subscribers

People subscribed via source and target branches

to status/vote changes: