Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emulab
emulab-stable
Commits
fb867923
Commit
fb867923
authored
Oct 08, 2014
by
Leigh B Stoller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add some options to fetch on FreeBSD 10, to turn off CA verification.
parent
fdecf806
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
2 deletions
+8
-2
clientside/tmcc/common/config/rc.mkelab
clientside/tmcc/common/config/rc.mkelab
+8
-2
No files found.
clientside/tmcc/common/config/rc.mkelab
View file @
fb867923
...
...
@@ -301,6 +301,12 @@ else {
die
("
Could not determine what architecutre FreeBSD is running on!
\n
");
}
# Extra fetch options on FreeBSD 10.
my
$FETCHOPTIONS
=
"";
if
(
$FBSD_VERSION
>=
10.0
)
{
$FETCHOPTIONS
=
"
--no-verify-peer --no-verify-hostname
";
}
#
# Find out our domain name, so that we can qualify the localhost entry
#
...
...
@@ -656,7 +662,7 @@ sub doboot()
$emulabconfig
{
OPS_PKG_DIR
}
=
$emulabconfig
{
FS_PKG_DIR
};
$emulabconfig
{
BOSS_PKG_DIR
}
=
$emulabconfig
{
FS_PKG_DIR
};
mysystem
("
fetch -q -o /usr/packages.tar.gz
"
.
mysystem
("
fetch
$FETCHOPTIONS
-q -o /usr/packages.tar.gz
"
.
"
'http://
${bossname}
/downloads/
"
.
$emulabconfig
{
PACKAGE_TARBALL
}
.
"
'
");
}
...
...
@@ -3566,7 +3572,7 @@ sub GetEmulabSource($)
my
$cvstag
=
(
!
defined
(
$emulabconfig
{"
CVSSRCTAG
"})
?
""
:
"
&cvstag=
"
.
$emulabconfig
{"
CVSSRCTAG
"});
mysystem
("
fetch -q -o /tmp/foo.tar.gz
"
.
mysystem
("
fetch
$FETCHOPTIONS
-q -o /tmp/foo.tar.gz
"
.
"
'https://
${bossname}
/spewrpmtar.php3?nodeid=
${nodeid}
&
"
.
"
key=
${keyhash}
&elabinelab_source=1
${cvstag}
'
");
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment