Skip to content
Permalink
Browse files

Add cockpit to Docker image

  • Loading branch information...
Your Name
Your Name committed Aug 21, 2019
1 parent d0f59b8 commit e29bb977aa65417c8b382284f877b92a28c746b0
Showing with 5 additions and 10 deletions.
  1. +5 −5 build/170-cockpit
  2. +0 −5 build/171-cockpit
@@ -7,12 +7,12 @@ echo $0 > /var/www/html/userfiles/nems-build.cur

# May not be necessary since Buster now includes it in repos

platform=$(/usr/local/share/nems/nems-scripts/info.sh platform)
if (( $platform != 21 )); then

# Install Cockpit
apt update
apt -y install cockpit
apt -y install cockpit-networkmanager

fi
# Install cockpit-networkmanager on all but Docker
platform=$(/usr/local/share/nems/nems-scripts/info.sh platform)
if (( $platform != 21 )); then
apt -y install cockpit-networkmanager
fi
@@ -3,9 +3,6 @@ echo $0 > /var/www/html/userfiles/nems-build.cur

# ** This file also gets called by NEMS daily fixes **

platform=$(/usr/local/share/nems/nems-scripts/info.sh platform)
if (( $platform != 21 )); then

## Remove Cockpit theme and replace with symlink to the NEMS theme
platform=$(/usr/local/bin/nems-info platform)

@@ -14,5 +11,3 @@ if [[ -d /usr/share/cockpit/branding/debian/ ]]; then
fi
mkdir -p /usr/share/cockpit/branding/debian
cp -f /root/nems/nems-migrator/data/1.5/cockpit/branding/* /usr/share/cockpit/branding/debian/

fi

0 comments on commit e29bb97

Please sign in to comment.
You can’t perform that action at this time.