Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SimpNAS Installer #108

Open
johnnyq opened this issue Jul 21, 2020 · 2 comments
Open

SimpNAS Installer #108

johnnyq opened this issue Jul 21, 2020 · 2 comments

Comments

@johnnyq
Copy link

johnnyq commented Jul 21, 2020

Hi I'm the developer for SimpNAS and opensource NAS similar to openmediavault https://simpnas.com is there any way we could get our installer integrated into armbian config if so whats the best way to go about doing so. Below is a link to our installer and works very well with armbian.

https://github.com/johnnyq/simpnas/blob/master/install.sh

@johnnyq johnnyq changed the title SimpNAS Installed SimpNAS Installer Jul 21, 2020
@EvilOlaf
Copy link
Member

The integration itself should be pretty easy. A simple example for an existing one whould be here:

config/debian-software

Lines 647 to 654 in e2bba42

install_docker ()
{
echo "deb [arch=$(dpkg --print-architecture)] https://download.docker.com/linux/${family,,} $distribution edge" >\
/etc/apt/sources.list.d/docker.list
curl -fsSL "https://download.docker.com/linux/${family,,}/gpg" | apt-key add -qq - > /dev/null 2>&1
debconf-apt-progress -- apt-get update
debconf-apt-progress -- apt-get install -y -qq --no-install-recommends docker-ce
}

Grab it, install it, done.

From there it gets a bit more complicated for two reasons:
First it installs docker and samba which armbian-config also offers and could conflict with each other if users selects those for installation later on. This needs to be catched.

Also the installation ideally needs to be tested on a wide varity of boards and that takes time which is a rare and valuable resource....

@lanefu
Copy link
Member

lanefu commented Apr 15, 2021

@johnnyq any interest in pursuing @EvilOlaf 's suggestions?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants