summaryrefslogtreecommitdiffstats
path: root/extras/vagrant
diff options
context:
space:
mode:
Diffstat (limited to 'extras/vagrant')
-rw-r--r--extras/vagrant/Vagrantfile3
-rwxr-xr-xextras/vagrant/build.sh2
-rwxr-xr-xextras/vagrant/run.sh6
3 files changed, 3 insertions, 8 deletions
diff --git a/extras/vagrant/Vagrantfile b/extras/vagrant/Vagrantfile
index a97a3dc38fc..8a2454ae0af 100644
--- a/extras/vagrant/Vagrantfile
+++ b/extras/vagrant/Vagrantfile
@@ -9,9 +9,6 @@ Vagrant.configure(2) do |config|
config.vm.box = "centos/7"
config.vm.box_version = "1708.01"
config.ssh.insert_key = false
- elsif distro == 'opensuse'
- config.vm.box = "opensuse/openSUSE-42.3-x86_64"
- config.vm.box_version = "1.0.4.20170726"
elsif distro == 'ubuntu1804'
config.vm.box = "bento/ubuntu-18.04"
else
diff --git a/extras/vagrant/build.sh b/extras/vagrant/build.sh
index 3a10e707fb9..ea32ffe90c3 100755
--- a/extras/vagrant/build.sh
+++ b/extras/vagrant/build.sh
@@ -66,7 +66,5 @@ elif [ "$OS_ID" == "debian" ]; then
elif [ "$OS_ID" == "centos" ]; then
(cd $VPP_DIR/vnet ;$SUDOCMD aclocal;$SUDOCMD automake -a)
$SUDOCMD make pkg-rpm
-elif [ "$OS_ID" == "opensuse" ]; then
- $SUDOCMD make pkg-rpm
fi
diff --git a/extras/vagrant/run.sh b/extras/vagrant/run.sh
index 61c9261fe2f..3e87e259442 100755
--- a/extras/vagrant/run.sh
+++ b/extras/vagrant/run.sh
@@ -1,16 +1,16 @@
#!/bin/bash
# Figure out what system we are running on
-if [ "$(uname)" <> "Darwin" ]; then
+if [ "$(uname)" <> "Darwin" ] ; then
OS_ID=$(grep '^ID=' /etc/os-release | cut -f2- -d= | sed -e 's/\"//g')
OS_VERSION_ID=$(grep '^VERSION_ID=' /etc/os-release | cut -f2- -d= | sed -e 's/\"//g')
fi
-if [ "$OS_ID" == "ubuntu" ]; then
+if [ "$OS_ID" == "ubuntu" ] ; then
$OS_CODENAME=$UBUNTU_CODENAME
fi
-if [ "$OS_ID" == "centos" ] || [ "$OS_ID" == "opensuse" ]; then
+if [ "$OS_ID" == "centos" ] ; then
# Install uio-pci-generic
sudo -E modprobe uio_pci_generic
fi
/traffic_profiles/trex/trex-stl-2n3n-ethip4-ip4src254-2c2n.py?h=rls2406&id=4aa89eb4eb3c954a5540cb70b23315ce652eef4f'>trex-stl-2n3n-ethip4-ip4src254-2c2n.py
blob: 29bdf28b305ff26ef5b5b855d0887be88d7bbac9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174