Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
emulab
emulab-devel
Commits
d6a3dcbe
Commit
d6a3dcbe
authored
Sep 19, 2002
by
Leigh B. Stoller
Browse files
Uh, just noticed that tb-set-node-tarfiles was not documented!
parent
cae8a130
Changes
1
Hide whitespace changes
Inline
Side-by-side
www/tutorial/tutorial.html
View file @
d6a3dcbe
...
...
@@ -25,6 +25,7 @@
<ul>
<li>
<a
href=
"#ADVEX"
>
A more advanced example
</a>
<li>
<a
href=
"#RPMS"
>
Installing RPMS automatically
</a>
<li>
<a
href=
"#TARBALLS"
>
Installing Tar files automatically
</a>
<li>
<a
href=
"#Startupcmd"
>
Starting your application automatically
</a>
<li>
<a
href=
"#ReadyBits"
>
...
...
@@ -464,6 +465,7 @@ or not work as you expect. Again, please feel free to contact us.
<ul>
<li>
<a
href=
"#ADVEX"
>
A more advanced example
</a>
<li>
<a
href=
"#RPMS"
>
Installing RPMS automatically
</a>
<li>
<a
href=
"#TARBALLS"
>
Installing Tar files automatically
</a>
<li>
<a
href=
"#Startupcmd"
>
Starting your application automatically
</a>
<li>
<a
href=
"#ReadyBits"
>
How do I know when all my nodes are ready?
</a>
<li>
<a
href=
"#Delta"
>
Customizing an OS (How to create a
<i>
delta
</i>
)
</a>
...
...
@@ -502,6 +504,34 @@ project member's home directory in <tt>/users</tt>.
</p>
<li>
<a
NAME=
"TARBALLS"
></a>
<h3>
Installing TAR files automatically
</h3>
<p>
The Testbed NS extension
<tt>
tb-set-node-tarfiles
</tt>
allows you to
specify a set of tarfiles to install on each of your nodes when it
boots. This command is similar to the
<a
href=
"#RPMS"
>
tb-set-node-rpms
</a>
above, and is provided for those people who do not want to spend a month
trying to figure out how to build an RPM! The format of this command
is slightly different though in that you must specify a directory in
which to unpack the tar file. This avoids problems with having to
specify absolute pathnames in your tarfile, which many modern tar
programs balk at.
<code><pre>
tb-set-node-tarfiles $nodeA /usr/site /proj/pid/tarfiles/silly.tar.gz
</code></pre>
The above NS code says to install the
<tt>
silly.tar.gz
</tt>
tar file
on
<tt>
nodeA
</tt>
from the working directory
<tt>
/usr/site
</tt>
when
the node first boots. The tarfile must reside on the node's local
filesystem, or in a directory that can be reached via NFS. This is
either the project's
<tt>
/proj
</tt>
directory, or a project member's
home directory in
<tt>
/users
</tt>
. You may specify as many tarfiles as
you wish, as long as each one is proceeded by the directory it should
be unpacked in, all separated by spaces.
</p>
<li>
<a
NAME=
"Startupcmd"
></a>
<h3>
Starting your application automatically
</h3>
<p>
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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