Make some pathnames more specific. Add a portmgr crontab (already
committed to repo) to hold the dopackagestats invocation, instead of just having it in a user directory.
This commit is contained in:
parent
07522c1d64
commit
2ff95ff495
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=40113
1 changed files with 21 additions and 8 deletions
|
@ -1725,7 +1725,7 @@ ganglia:*:102:102::0:0:User &:/usr/local/ganglia:/bin/sh</programlisting>
|
||||||
|
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>Create the appropriate
|
<para>Create the appropriate
|
||||||
<filename>/etc/rc.conf</filename>. (If you are using
|
<filename>etc/rc.conf</filename>. (If you are using
|
||||||
<literal>pxeboot</literal>, and have multiple,
|
<literal>pxeboot</literal>, and have multiple,
|
||||||
different, machines, you will need to put those in
|
different, machines, you will need to put those in
|
||||||
the override directories.)</para>
|
the override directories.)</para>
|
||||||
|
@ -1955,8 +1955,8 @@ touch /tmp/.boot_finished</screen>
|
||||||
|
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>Configure <command>ssh</command>: copy
|
<para>Configure <command>ssh</command>: copy
|
||||||
<filename>/etc/ssh</filename> to
|
<filename>etc/ssh</filename> to
|
||||||
<filename>/usr/local/etc/ssh</filename> and add
|
<filename>usr/local/etc/ssh</filename> and add
|
||||||
<literal>NoneEnabled yes</literal> to
|
<literal>NoneEnabled yes</literal> to
|
||||||
<filename>sshd_config</filename>.</para>
|
<filename>sshd_config</filename>.</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
|
@ -2159,13 +2159,17 @@ ssh_cmd="/usr/local/bin/ssh"
|
||||||
<procedure>
|
<procedure>
|
||||||
<step>
|
<step>
|
||||||
<para>Ensure that <literal>ssh</literal> is working by executing
|
<para>Ensure that <literal>ssh</literal> is working by executing
|
||||||
<command>ssh <replaceable>hostname</replaceable></command>.
|
<command>ssh <replaceable>hostname</replaceable> uname -a</command>.
|
||||||
|
The actual command is not important; what is important is to
|
||||||
|
confirm the setup, and also add an entry into
|
||||||
|
<filename>known_hosts</filename>, once you have confirmed the
|
||||||
|
node's identity.
|
||||||
</para>
|
</para>
|
||||||
</step>
|
</step>
|
||||||
|
|
||||||
<step>
|
<step>
|
||||||
<para>Populate <filename>/var/portbuild/scripts/</filename>
|
<para>Populate the node's copy of
|
||||||
by something like
|
<filename>/var/portbuild/scripts/</filename> by something like
|
||||||
<command>/var/portbuild/scripts/dosetupnode <replaceable>arch</replaceable> <replaceable>major</replaceable> latest <replaceable>hostname</replaceable></command>.
|
<command>/var/portbuild/scripts/dosetupnode <replaceable>arch</replaceable> <replaceable>major</replaceable> latest <replaceable>hostname</replaceable></command>.
|
||||||
Verify that you now have files in that directory.
|
Verify that you now have files in that directory.
|
||||||
</para>
|
</para>
|
||||||
|
@ -3161,8 +3165,17 @@ qmanager.sh</screen>
|
||||||
</step>
|
</step>
|
||||||
|
|
||||||
<step>
|
<step>
|
||||||
<para>Set up <filename>/var/portbuild/crontab/root</filename> as
|
<para>Install <filename>/var/portbuild/crontabs/root</filename> as
|
||||||
the root crontab via <command>crontab -e</command>. If you do
|
the <username>root</username> crontab via
|
||||||
|
<command>crontab -e</command>. If you do
|
||||||
|
not support all the archs listed there, make sure to comment out
|
||||||
|
the appropriate <application>dologs</application> entries.</para>
|
||||||
|
</step>
|
||||||
|
|
||||||
|
<step>
|
||||||
|
<para>Install <filename>/var/portbuild/crontabs/portmgr</filename> as
|
||||||
|
the <username>portmgr</username> crontab via
|
||||||
|
<command>crontab -u portmgr -e</command>. If you do
|
||||||
not support all the archs listed there, make sure to comment out
|
not support all the archs listed there, make sure to comment out
|
||||||
the appropriate <application>dologs</application> entries.</para>
|
the appropriate <application>dologs</application> entries.</para>
|
||||||
</step>
|
</step>
|
||||||
|
|
Loading…
Reference in a new issue