Giter Club home page Giter Club logo

suse-cloud-appliances's People

Contributors

bwgartner avatar cseader avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

suse-cloud-appliances's Issues

mount SP3/Cloud ISOs permanently instead of extracting files

suse_studio_firstboot mounts these ISOs to /mnt and then rsyncs the files to /srv/tftpboot. This makes the firstboot much longer and also needlessly wastes disk space which is a problem on laptops (especially with SSDs!) Instead it should just add entries to fstab to auto-mount the ISOs directly on the target mountpoints.

don't duplicate unless you really have to

This golden rule applies everywhere ;-) But the example I am thinking of right now is these new suse-cloud-[34]-admin hierarchies. The industry standard way of dealing with different releases is to use git branches. This brings huge advantages because you can use all the tools in the git ecosystem for managing the branches separately (and in tandem) for standard tasks like comparing, porting, tagging. In contrast, with the current approach you have to do all this stuff manually, and it leads to other ugliness like not being able to restrict git log to commits which only affect Cloud 3 appliances.

So unless there is a really compelling to do this, I'd much prefer to have two branches. I suggest suse-cloud-3 for Cloud 3 and master for Cloud 4.

default to sensible hostname

With 1.1.0 it's defaulting to a random hostname and domain name site. It also defaults to changing hostname via DHCP, which we don't want.

embedded preload iso v1.2.0 fails during install of ipmitools

Noticed on several runs, that screen install-suse-cloud errors. In the log, complains of not being able to install ipmitools. With login to system, one can easily search for and find this package, then install-suse-cloud proceeds to completion

don't require NCC / SMT registration by default

By default the appliance should work without any NCC / SMT registration, to keep the barrier to entry as low as possible. Of course it should still support NCC / SMT setup, but only as a non-intrusive option.

v1.2.0 incorrectly registers SUSE-Cloud-3-Updates repostiory

The path of the repository is registered as /SUSE-Cloud-3-Updates and as an ISO. This causes screen install-suse-cloud to apprently hang at that step indefinitely. Correcting this with a login to the system via YaST/Software Repositories by deleting errant entry and pointing to a local directory under /srv/tftpboot/repos/SUSE-Cloud-3-Updates allows the process to complete

yast firstboot loop

I managed to create an appliance which forever does the firstboot thing and then switches to runlevel 0 ...

Provide sensible default network config

In most cases people will install with standard network setup, i.e. 192.168.124.10. So it makes sense to make that the default, and to skip the requirement to go through the annoying yast process. But of course there still needs to be an option to change it to non-default.

kiwi config missing

Please commit the kiwi config you are using, and a README for how to use it would be great too ;-)

eliminate disk wastage from rebuilding huge .txz

setup-suse-crowbar_embedded does:

cat /srv/tftpboot/txz/SUSE-Cloud-3-repos-03182014.txz.part0* > /srv/tftpboot/txz/SUSE-Cloud-3-repos-03182014.txz
tar -xJvf /srv/tftpboot/txz/SUSE-Cloud-3-repos-03182014.txz -C $repo_dir

but this instantly eats up a load of disk which is bad for reasons already mentioned in #1 ... and the files are not even removed after extraction (but even if they were, the damage might still be irreversible because of how sparse .qcow2 files work).

So something like this might be better:

if cat /srv/tftpboot/txz/SUSE-Cloud-3-repos-03182014.txz.part0* | tar -xJv -C $repo_dir; then
    rm /srv/tftpboot/txz/SUSE-Cloud-3-repos-03182014.txz.part0*
fi

(I may have got the tar options wrong, but you get the idea - do the concatenation on STDIN/OUT rather than to a temporary file.)

If you work on this, it would be really useful to compare the output of running du on a vdisk of a fully installed appliance with and without this change, to make sure I'm not talking rubbish ;-)

Stick with old version of bind 9.6

For some reason SUSE Cloud 3 has a problem with bind 9.9 which is part of the updates of SLES 11 SP3. So moving back to the other version fixes the problems it has.

Setup SMT with ISO on image

Add SMT ISO on image with small script which can mount and install SMT pattern for using SMT with SUSE Cloud if its needed later.

switch huge .tar files to overlays

Currently the 1GB .tar files are concatenated and unpacked when the appliance is first booted. This is dumb ;-) It means firstboot is really slow, and also it wastes a TON of disk space.

Instead we should make .tar.bz2 files which are overlays, i.e. they get unpacked directly into the appliance's / filesystem at build time. I think it would make sense to have one .tar.bz2 per repo, e.g. SLES11-SP3-Updates.tar.bz2.

Also, we need a simple script which generates these overlay files, so that anyone can regenerate them if they want to rebuild the appliance either via kiwi or via http://susestudio.com.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.