Commit e5ba1bc5 by Heechul Kim

updated

parent 8e38d472
#!/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
Plan your installation, and FAI installs your plan. This server is delivered by PORCHMAN :)
...@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment