Skip to content

Commit

Permalink
tweak perl replace to match WW default file
Browse files Browse the repository at this point in the history
  • Loading branch information
koomie committed Mar 30, 2017
1 parent 76f758f commit 0fae7de
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ \subsubsection{Build initial BOS image} \label{sec:assemble_bos}
% ohpc_indent 5
\begin{lstlisting}[language=bash,keywords={}]
# Override default OS repository (optional) - set BOS_MIRROR variable to desired repo location
[sms](*\#*) perl -pi -e "s#^YUM_MIRROR=(\S+)#YUM_MIRROR=${BOS_MIRROR}#" \
[sms](*\#*) perl -pi -e "s#YUM_MIRROR_BASE=(\S+)#YUM_MIRROR_BASE=${BOS_MIRROR}#" \
/usr/libexec/warewulf/wwmkchroot/centos-7.tmpl
\end{lstlisting}
% ohpc_indent 0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ \subsubsection{Build initial BOS image} \label{sec:assemble_bos}
% ohpc_indent 5
\begin{lstlisting}[language=bash,keywords={}]
# Override default OS repository (optional) - set BOS_MIRROR variable to desired repo location
[sms](*\#*) perl -pi -e "s#^YUM_MIRROR_BASE=(\S+)#YUM_MIRROR_BASE=${BOS_MIRROR}#" \
[sms](*\#*) perl -pi -e "s#YUM_MIRROR_BASE=(\S+)#YUM_MIRROR_BASE=${BOS_MIRROR}#" \
/usr/libexec/warewulf/wwmkchroot/centos-7.tmpl
\end{lstlisting}
% ohpc_indent 0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ \subsubsection{Build initial BOS image} \label{sec:assemble_bos}
% ohpc_indent 5
\begin{lstlisting}[language=bash,keywords={}]
# Override default OS repository (optional) - set BOS_MIRROR variable to desired repo location
[sms](*\#*) perl -pi -e "s#^YUM_MIRROR_BASE=(\S+)#YUM_MIRROR_BASE=${BOS_MIRROR}#" \
[sms](*\#*) perl -pi -e "s#YUM_MIRROR_BASE=(\S+)#YUM_MIRROR_BASE=${BOS_MIRROR}#" \
/usr/libexec/warewulf/wwmkchroot/centos-7.tmpl
\end{lstlisting}
% ohpc_indent 0
Expand Down

0 comments on commit 0fae7de

Please sign in to comment.