Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
jijisa
/
porch
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
e5ba1bc5
authored
Mar 22, 2017
by
Heechul Kim
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
updated
parent
8e38d472
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
4 deletions
srv/fai/config/config_tarball.sh
srv/fai/config/files/etc/motd/FAIBASE
srv/fai/config/hooks/savelog.LAST.sh
srv/fai/config/config_tarball.sh
View file @
e5ba1bc5
#!/bin/sh
#!/bin/sh
tar
cvf fai-JESSIE-config.tar class debconf disk_config files hooks package_config scripts pubkeys saltkey basefiles/JESSIE64.tar.xz
tar
cvf fai-CENTOS7-config.tar class debconf disk_config files hooks
\
tar
cvf fai-XENIAL-config.tar class debconf disk_config files hooks package_config scripts pubkeys saltkey basefiles/XENIAL64.tar.xz
package_config scripts pubkeys saltkey basefiles/CENTOS7_64.tar.xz
tar
cvf fai-CENTOS7-config.tar class debconf disk_config files hooks package_config scripts pubkeys saltkey basefiles/CENTOS7_64.tar.xz
tar
cvf fai-JESSIE-config.tar class debconf disk_config files hooks
\
package_config scripts pubkeys saltkey basefiles/JESSIE64.tar.xz
tar
cvf fai-XENIAL-config.tar class debconf disk_config files hooks
\
package_config scripts pubkeys saltkey basefiles/XENIAL64.tar.xz
srv/fai/config/files/etc/motd/FAIBASE
View file @
e5ba1bc5
Plan your installation, and FAI installs your plan.
This server is delivered by PORCHMAN :)
srv/fai/config/hooks/savelog.LAST.sh
View file @
e5ba1bc5
...
@@ -168,6 +168,10 @@ $myerrorpatterns"
...
@@ -168,6 +168,10 @@ $myerrorpatterns"
ignorepatterns
=
"
$globalignorepatterns
ignorepatterns
=
"
$globalignorepatterns
$myignorepatterns
"
$myignorepatterns
"
# set is_installed to True and state to 'Installed'.
/usr/bin/curl
-XPOST
http://porch:8000/api/machine/
$HOSTNAME
/installed
cd
$LOGDIR
||
exit
3
cd
$LOGDIR
||
exit
3
if
[
-s
$errfile
]
;
then
if
[
-s
$errfile
]
;
then
echo
"Errorfile already exists. Aborting."
>
&2
echo
"Errorfile already exists. Aborting."
>
&2
...
...
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