armbian / config

Armbian Linux configuration utility

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SimpNAS Installer

johnnyq opened this issue · comments

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

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....

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