35 Commits

Author SHA1 Message Date
Mark D Horn b51333c2cb python static library changed bundles
Signed-off-by: Mark D Horn <mark.d.horn@intel.com>
2019-12-13 00:34:42 +00:00
John Akre 4c43f7f7fe Replace ICIS references with CCIS
After the removal of ister, the project was rebranded as
clr-cloud-init-svc.

Signed-off-by: John Akre <john.w.akre@intel.com>
2019-11-08 14:02:49 -08:00
John Akre a883e2e60a Disable NetworkManager on server interfaces
When NetworkManager is running, it conflicts with the sytemd-networkd
configurations. Disabling NetworkManager on the internal and external
interfaces allows systemd-networkd to properly configure them.

Fixes: #11

Signed-off-by: John Akre <john.w.akre@intel.com>
2019-10-23 15:01:22 -07:00
John b0cf7aadd3 Replace ister with clr-installer
The ister project has been deprecated and replaced with clr-installer.

Signed-off-by: John Akre <john.w.akre@intel.com>
2019-10-23 14:23:22 -07:00
Donny Davis da6dc35042 Update README.rst
Updating to let people know they need to check/change parameters.conf before running the script
v0.0.1
2019-10-23 12:27:32 -07:00
António Meireles 6daa40e6be fix spelling typo
Signed-off-by: António Meireles <antonio.meireles@reformi.st>
2018-11-20 11:08:25 -08:00
ahkok 825e58eaea CVE-2018-1000656
Vulnerable versions: < 0.12.3
Patched version: 0.12.3

The Pallets Project flask version Before 0.12.3 contains a CWE-20: Improper Input Validation vulnerability in flask that can result in Large amount of memory usage possibly leading to denial of service. This attack appear to be exploitable via Attacker provides JSON data in incorrect encoding. This vulnerability appears to have been fixed in 0.12.3.
2018-11-08 21:54:11 -08:00
António Meireles b5c0945788 Update broken links to Clear Linux documentation
Signed-off-by: António Meireles <antonio.meireles@reformi.st>
2018-05-22 00:21:12 -07:00
António Meireles 4cf660b0f0 Fix typo while generating /etc/nginx/conf.d/pxe.conf
/etc/nginx/conf.d/pxe.conf wasn't being properly generated due to a
missing shell escape, which made things non functional out of the box.

Signed-off-by: António Meireles <antonio.meireles@reformi.st>
2018-05-21 10:00:46 -07:00
William Douglas e5c67b3ca1 Correct the ister giturl 2018-02-26 21:47:57 +00:00
George T Kramer b7bd4c0aef Update broken links to Clear Linux documentation 2017-11-16 11:13:59 -08:00
George T Kramer f66887028d Put nginx configurations in dedicated directory
The default configuration of nginx was updated to use a configuration
directory.  This allows multiple applications to be hosted on the same
nginx instance/host as long as different port numbers are used.
Updating the install script to use this change so that users can get
going with IPXE without problems.
2017-09-20 15:13:13 -07:00
George T Kramer 51d8df5b60 Expanded and clarified README documentation 2017-03-10 11:32:47 -08:00
George T Kramer 448b304667 Removing unnecessary configurations
Allow scripts to be run independently. Reducing the number of firewall configurations.  Reducing the requirements of ICIS.
2017-03-10 11:32:47 -08:00
George T Kramer 10f84ffaa4 Renaming PXE configuration to iPXE configuration
Fixing install sequencing

Checking return codes and printing messages consistently

Not relying on cached DNS providers

Minimizing network interface changes

Resolving conflicts between systemd and dnsmasq

Dropping IPv6 support, not caching DNS servers anymore
2017-03-10 11:32:47 -08:00
George T Kramer dbce167d06 Fix DNS conflict between systemd and dnsmasq
Using the option DNSStubListener=no to disable systemd's DNS stub listener.  Also adding support for IPv6 NAT and handling hostnames consistently for all web-based services.

Do not run install scripts if requirements are not met

Using more portable shell conditional expressions

Naming install scripts for a clear entry point

Removing unnecessary firewall dependencies

Properly sequencing startup of servers

Properly limiting servers on interfaces

Defaulting to system-preferred DNS resolver

Systems often have their preferred DNS resolvers (e.g. systemd-resolved, NetworkManager).  Configuration is simplified by accomodating this fact and not using the DNS stub provided by dnsmasq.

Passing server domain to PXE configuration

Bug fixes for enabling automated install
2017-03-10 11:32:47 -08:00
George T Kramer 9610e7472f Update supporting documentation 2017-03-10 11:32:47 -08:00
George T Kramer a5d085b125 Creating install scripts for PXE and ICIS
These install scripts set up a PXE server with the ICIS service.  They automate the configuration of Clear Linux for baremetal installations of Clear Linux.  They assume a dedicated machine and a clean install is the starting point.  They also assume that a NAT network topology is used for PXE booting.  They create parameters which users can modify prior to installation.  The built-in parameterized systemd service and socket for uwsgi applications is being used to deploy ICIS on Clear Linux.
2017-03-10 11:32:47 -08:00
George T Kramer 89dfb8f9cf Creating a distribution directory
Separating the application from its configuration to enable the creation of install scripts with parameters users can modify
2017-03-10 11:32:47 -08:00
Robert Nesius d301096ed0 Merge pull request #1 from pdxjohnny/master
Additions to documentation and configs
2016-10-02 23:42:38 -07:00
John Andersen 2502c41c39 Changed localhost:5000 to 192.168.1.1/icis/
static/ister/* all contained localhost:5000 as the location of
ister/icis configs. This would never be the case as to the machine
installing localhost is just a pxe booted installer image which is
definitely not hosting those configs. Based on the network_boot
documentation and the bulk_provisioning documentation this should
instead be http://192.168.1.1/icis/.

Signed-off-by: John Andersen <john.s.andersen@intel.com>
2016-09-26 17:13:46 +00:00
John Andersen 413db68249 Additions to documentation and configs
Removed unused modules from requirements.txt
  cupshelpers
  louis
  lxml
  pycups
  pycurl
  pygobject
  team

Added nginx.conf as an example of how to configure uwsgi with nginx.
This can be dropped in as a replacement for pxe nginx config file as
it includes both locations.

Added isic_uwsgi.service file to be placed in /etc/systemd/service/
to start the uwsgi app.

Added SUBDIR to settings.py so that the uwsgi app responds to
requests when it is served under the /icis subdirectory.

Signed-off-by: John Andersen <john.s.andersen@intel.com>
2016-09-26 17:01:31 +00:00
Robert Nesius b87e667632 Clean-up... 2016-07-01 17:00:43 -07:00
Robert Nesius b2d6162bd3 Notes on installing/configuring web-app 2016-07-01 16:50:48 -07:00
Robert Nesius 13dcebabd7 Clean-up... 2016-07-01 16:08:57 -07:00
Robert Nesius d1b178a400 Prepping for external push 2016-07-01 16:06:58 -07:00
Robert Nesius 29d7e44d09 Check for "default" mac, some clean-up 2016-04-01 15:04:15 -07:00
Robert Nesius ec88d38358 Repaired .gitignore, generated requirements.txt
pip freeze > requirements.txt
2016-03-28 23:30:21 -07:00
Robert Nesius 65f9787cb7 Don't want to filter venv... 2016-03-28 23:22:09 -07:00
Robert Nesius b63dd3a4f3 Adding static files and uwsgi conf file 2016-03-23 02:20:31 -07:00
Robert Nesius 6ea649d496 Serve role files from get_role 2016-03-23 02:12:38 -07:00
Robert Nesius 09f5729cbc More efficient regular expression 2016-01-24 13:12:02 -08:00
Robert Nesius b7b14a54d9 Updating .gitignore, static file test, settings file 2016-01-24 00:58:59 -08:00
Robert Nesius 3ecde566b0 First implementation of config-data-server 2016-01-23 23:56:46 -08:00
Robert Nesius f7801def13 Just getting started... 2016-01-23 22:53:58 -08:00