Univention Bugzilla – Bug 38857
Changing default network: Script is buggy
Last modified: 2015-07-09 16:30:50 CEST
http://docs.univention.de/manual-4.0.html#uvmm::profile::network Englisch version of the script: udm uvmm/profile list --filter interface=br0 | sed -ne 's/^DN: //p' | xargs -r -d '\n' -n 1 udm uvmm/profile modify \ --set interface=br0 --dn Obviously wrong as it would not find any profile and would not change the profile. The german version is broken too: <http://docs.univention.de/handbuch-4.0.html#uvmm::profile::network> udm uvmm/profile list --filter interface=br0 | sed -ne 's/^DN: //p' | xargs -r -d '\n' -n 1 udm uvmm/profile modify \ --set interface=eth0 --dn The best (and working) version can be found in the 3.2 extended doc (and that's available in english only): <http://docs.univention.de/computers-3.2.html#uvmm> udm uvmm/profile list --filter interface=eth0 | sed -ne 's/^DN: //p' | xargs -r -n 1 -d '\n' udm uvmm/profile modify \ --set interface=br0 --dn
(In reply to Janis Meybohm from comment #0) > <http://docs.univention.de/manual-4.0.html#uvmm::profile::network> > udm uvmm/profile list --filter interface=br0 | br0 → eth0 > sed -ne 's/^DN: //p' | > xargs -r -d '\n' -n 1 udm uvmm/profile modify \ > --set interface=br0 --dn > <http://docs.univention.de/handbuch-4.0.html#uvmm::profile::network> > udm uvmm/profile list --filter interface=br0 | br0 → eth0 > sed -ne 's/^DN: //p' | > xargs -r -d '\n' -n 1 udm uvmm/profile modify \ > --set interface=eth0 --dn eth0 → br0 The text was updated as well. r61867 | Bug #38857 manual: Fix uvmm/profile scripts <http://jenkins.knut.univention.de:8080/job/UCS-4.0/job/UCS-4.0-2/job/Handbook%20UCS/lastSuccessfulBuild/artifact/webroot/handbuch-4.0.html#uvmm::profile::network> <http://jenkins.knut.univention.de:8080/job/UCS-4.0/job/UCS-4.0-2/job/Handbook%20UCS/lastSuccessfulBuild/artifact/webroot/manual-4.0.html#uvmm::profile::network>
Bug #38857 manual: Fix uvmm/profile scripts Use "$OLD"/"$ALT" and "$NEW"/"$NEU" instead of concrete interface names
> The best (and working) version can be found in the 3.2 extended doc That is because the UCS 3.2 bridge default name is actually eth0. This has been changed in UCS 4, the bridge is named br0, see [1]. As discussed with Philipp, we will update the docs to show that br0 is the default, and update the example with generic device names. [1] http://docs.univention.de/release-notes-4.0-0-en.html#relnotes:post
OK: r61896, updating r61867 Verified
Bug #38405,Bug #38857,Bug #38865 doc: Publish