Return to Video

FAI.me - A Build Service for Installation and Cloud Images

  • Not Synced
    Today, I talk about FAI.me, which is a
    build for images.
  • Not Synced
    First, anybody that never heard anything
    about FAI?
  • Not Synced
    Ok
  • Not Synced
    I started this project in 1999.
  • Not Synced
    I'm not sure…
  • Not Synced
    No, I'm sure that during those times, the
    Debian installer did not have
  • Not Synced
    the preseeding stuff, so we needed
    something automatically.
  • Not Synced
    I installed the first cluster with FAI and
    I always do talks on FAI or
  • Not Synced
    today in the lightning talks, I talk
    a little bit about dracut,
  • Not Synced
    which is used in FAI.
  • Not Synced
    So, what was the motivation.
  • Not Synced
    A neighbour of mine, she came to me with
  • Not Synced
    "My Windows desktop is broken,
    can you reinstall it?"
  • Not Synced
    And in the end, I installed her Linux,
    and I was shortly thinking about
  • Not Synced
    "Should I use FAI for installing her
    desktop with Linux?"
  • Not Synced
    And in the end, I did not use it because
    FAI is too complicated,
  • Not Synced
    like the Debian installer, I guess it's
    not really that easy for beginners
  • Not Synced
    because there are a lot of questions
  • Not Synced
    but also FAI is not really for beginners.
  • Not Synced
    So this was the motivation about thinking
    about FAI.
  • Not Synced
    The target group was always advanced
    sysadmins
  • Not Synced
    but I thought maybe it's possible to make
    FAI usable also for people
  • Not Synced
    that are not that advanced sysadmins.
  • Not Synced
    The idea is that an installer should cover
    most installations.
  • Not Synced
    The Debian installer is really perfect
    because I think it covers
  • Not Synced
    all different kinds and strange environments
  • Not Synced
    You can do a lot of things, you can configure
    very strange combination of language,
  • Not Synced
    keyboard layout and so on
  • Not Synced
    but I was thinking about an installer
    that covers 90 or 95% of the installations
  • Not Synced
    A lot of special cases can be ignored and
    since the Debian installer has like
  • Not Synced
    more than 20 questions, I thought it would
    be much nicer if there were only
  • Not Synced
    3 to 5 questions and I looked at Linux Mint
    and Mageia installers, CentOS installer,
  • Not Synced
    and they all ask much less questions.
  • Not Synced
    In the Debian installer, we sometimes
    have also things that are asked
  • Not Synced
    during the installation, so not everything
    is asked at the very beginning.
  • Not Synced
    For example, the task selection, where you
    select your desktop,
  • Not Synced
    is done after the base installation.
  • Not Synced
    This was also very important, I would like
    to have something that
  • Not Synced
    asks everything at the very beginning.
  • Not Synced
    Then, maybe some tool could create
    a customized installation image
  • Not Synced
    and this installation image should run
    then completely unattended
  • Not Synced
    so you can get yourself a coffee and
    when you come back, your machine is ready.
  • Not Synced
    There are 3 things to customize installation
    image,
  • Not Synced
    you just put this image, you do not have
    to touch anything, and then it's ready.
  • Not Synced
    I thought "Oh yes, this is FAI, maybe
    FAI can do this."
  • Not Synced
    As I said, FAI is only, or was until now
    only a tool for experienced sysadmins
  • Not Synced
    and you have to adjust several config
    files, these are ASCII files
  • Not Synced
    but still you have to touch 5 to 10
    config files to make a customization.
  • Not Synced
    So, how can I make FAI usable for
    beginners?
  • Not Synced
    That's the beginning of FAI.me.
  • Not Synced
    There's a web page, we'll show it
    in more detail later,
  • Not Synced
    where you can just click some things, and
    then you get a customized image.
  • Not Synced
    This image can be put onto a CD, DVD or
    USB stick, just with dd
  • Not Synced
    and the customization is just by using
    the web interface
  • Not Synced
    so there's no need for you to edit
    a text file, a config file inside FAI.
  • Not Synced
    I hope I covered most important thangs
    that you want to adjust
  • Not Synced
    or a little bit customize.
  • Not Synced
    You can add additional packages, I think
    that's the most important thing
  • Not Synced
    that people say "I want to have the normal
    Debian installation
  • Not Synced
    but with some additional packages."
  • Not Synced
    And you can select different different
    distributions, so it's not only
  • Not Synced
    the installation image for the stable
    release, you can create
  • Not Synced
    3 variants of the installation.
  • Not Synced
    This is the web page and thanks to Juri,
    he did a great job
  • Not Synced
    during the first and second day, he added
    a new feature that we now have
  • Not Synced
    a toggle button.
  • Not Synced
    Is it big enough or should I zoom in?
  • Not Synced
    Ok.
  • Not Synced
    So, we have a toggle button, what you see
    now is just the bare minimum or questions
  • Not Synced
    and we can toggle it to more advanced
    settings.
  • Not Synced
    You have to select or just leave this as
    it is, username,
  • Not Synced
    if you do not enter a password, a password
    will be generated and shown to you
  • Not Synced
    and sent by e-mail.
  • Not Synced
    I will now just type in the password.
  • Not Synced
    It's here in clear text, for me that's fine
    because
  • Not Synced
    there's also a comment that you should
    change the password after the installation
  • Not Synced
    and I do not like to enter passwords twice
    so you can see what you typed in
  • Not Synced
    and hopefully do not make any wrong
    mistakes.
  • Not Synced
    For example, we could select the Stretch
    distribution with backports,
  • Not Synced
    so we will get a 4.15 kernel with Stretch.
  • Not Synced
    There are some buttons we can say we want
    to have some Debian developer tools.
  • Not Synced
    This is what I defined in the FAI
    configuration, so just a list of packages.
  • Not Synced
    Here, you can enter you own packages.
  • Not Synced
    I will select the desktop.
  • Not Synced
    You can have an installation without any
    desktop, so a very small installation.
  • Not Synced
    I will select the XFCE desktop, but all
    the other desktops are here.
  • Not Synced
    The language, these are just task packages
    that are…
  • Not Synced
    I think Debian has much more task packages,
    I just searched which are
  • Not Synced
    the most common languages, and what I do
    if I say I want the spanish language,
  • Not Synced
    also the keyboard layout is spanish.
  • Not Synced
    I know there are different combinations
    and with local time,
  • Not Synced
    it's getting more difficult.
  • Not Synced
    This installation will install the clock
    with UTC, so if you want to set
  • Not Synced
    your time, you have to do this manually.
  • Not Synced
    I want to cover the most common installations.
  • Not Synced
    We select english US, the desktop and,
    as an example, the midnight commander
  • Not Synced
    and GIMP.
  • Not Synced
    I can add an email address so if it would
    take longer,
  • Not Synced
    for example if this service will have
    success and a lot of people are using it,
  • Not Synced
    you may wait for some minutes so your job
    will be finished.
  • Not Synced
    So here are the comments, how to reconfigure
    the keyboard or the timezone
  • Not Synced
    and then you just click "Create
    the installation image".
  • Not Synced
    Now, in the background, there's some job,
    a script, looking "Oh, there's a new job"
  • Not Synced
    and there's a summary of the configuration,
    of the web configuration.
  • Not Synced
    Down here you see these are the
    FAI classes,
  • Not Synced
    I will explain a little bit more about this.
  • Not Synced
    But with this information, FAI configuration
    is generated,
  • Not Synced
    that's what normally the experienced
    sysadmins have to create
  • Not Synced
    but here you just click on some buttons
    and it will be done for you.
  • Not Synced
    In the meantime, we have some more
    advanced features
  • Not Synced
    which I will also show you later.
  • Not Synced
    For example, this very simple installation
    just creates one partition
  • Not Synced
    but you can also select that you want
    to have a separate /home partition
  • Not Synced
    or using lvm just by selecting this
    on the web interface.
  • Not Synced
    You can also add your SSH public key
    for logging as root without a password
  • Not Synced
    or what's very nice, I found the new
    Ubuntu installer does this,
  • Not Synced
    you can give your github account and
    then there's a comment which
  • Not Synced
    receives the public key from your
    github account and puts it
  • Not Synced
    into the root account so you can log in
    without password.
  • Not Synced
    I think that's very neat.
  • Not Synced
    And if you have a repository with your own
    packages, you could also add this and say
  • Not Synced
    "Please install those packages from
    my publicly available repository."
  • Not Synced
    Let's see.
  • Not Synced
    As we see, this job finished in 74 seconds.
  • Not Synced
    Now, this customised installation image
    is available for download.
  • Not Synced
    You can also download the log file.
  • Not Synced
    Since this is an installation image,
    I first have to create
  • Not Synced
    a partial package mirror.
  • Not Synced
    This is done by the command 'fai-mirror'
    and you can also read the log of
  • Not Synced
    this call of the fai-mirror, where a list
    of all you packages with all the dependencies
  • Not Synced
    are available.
  • Not Synced
    So you see, these are the list of packages
    and later they are downloaded
  • Not Synced
    and in the end, it says it created a mirror
    of 1G of packages
  • Not Synced
    and since I have a local mirror,
    it's very fast.
  • Not Synced
    This is the one part on the installation
    image partial mirror with all the packages
  • Not Synced
    and the other is that the config space
    which you can also download.
  • Not Synced
    So this is the config space that was
    really created for you
  • Not Synced
    by clicking the web interface.
  • Not Synced
    If you want to do more things with FAI,
    you can set up your own FAI server
  • Not Synced
    and use this configuration space.
  • Not Synced
    And, that's also very new, the two commands
    that are used for creating this ISO image
  • Not Synced
    are now also listed there.
  • Not Synced
    First, create the partial mirror and then
    create the installation image.
  • Not Synced
    Ok, copy link location…
  • Not Synced
    Let's see how good the network is here.
  • Not Synced
    [Q] It's a rather large image.
  • Not Synced
    Yeah, because it includes all the packages
Title:
FAI.me - A Build Service for Installation and Cloud Images
Description:

more » « less
Video Language:
English
Team:
Debconf
Project:
2018_mini-debconf-hamburg
Duration:
45:45

English subtitles

Incomplete

Revisions Compare revisions