Loading...

Blog: OpenVZ on OpenSUSE 11.1 on Mac mini: opensuse-11.1-openvz.sh

File opensuse-11.1-openvz.sh, 615 bytes (added by simon@…, 11 years ago)

Create OpenVZ repositories.

Line 
1#!/bin/bash
2
3cat > /etc/zypp/repos.d/Virtualization:OpenVZ:kernel-2.6.27.repo << EOF
4[Virtualization:OpenVZ:kernel-2.6.27]
5name=Virtualization:OpenVZ:kernel-2.6.27
6enabled=1
7autorefresh=1
8baseurl=http://download.opensuse.org/repositories/Virtualization%3a/OpenVZ%3a/kernel-2.6.27/openSUSE_11.1/
9path=/
10type=rpm-md
11keeppackages=0
12EOF
13
14cat > /etc/zypp/repos.d/Virtualization:OpenVZ:tools.repo << EOF
15[Virtualization:OpenVZ:tools]
16name=Virtualization:OpenVZ:tools
17enabled=1
18autorefresh=1
19baseurl=http://download.opensuse.org/repositories/Virtualization:/OpenVZ:/tools/openSUSE_11.1/
20path=/
21type=rpm-md
22keeppackages=0
23