20 lines
676 B
Bash
Executable file
20 lines
676 B
Bash
Executable file
#!/bin/sh
|
|
|
|
# This script is supposed to be used in an openSUSE Tumbleweed Live DVD.
|
|
|
|
sudo rpm --import https://build.opensuse.org/projects/YaST/public_key
|
|
sudo zypper ar -f \
|
|
https://download.opensuse.org/repositories/YaST:/Head:/D-Installer/openSUSE_Tumbleweed/YaST:Head:D-Installer.repo
|
|
RUBY_VERSION=ruby:`rpm --eval '%{rb_ver}'`
|
|
sudo zypper --non-interactive in --no-recommends \
|
|
"rubygem($RUBY_VERSION:d-installer)" \
|
|
cockpit-d-installer \
|
|
cockpit
|
|
|
|
sudo systemctl start cockpit
|
|
sudo systemctl start d-installer
|
|
|
|
# set 'linux' as password
|
|
echo "linux:Nk1RhI1GqlxdA" | sudo chpasswd -e linux
|
|
|
|
xdg-open http://localhost:9090/cockpit/@localhost/d-installer/index.html
|