[Script Info] Title: [Events] Format: Layer, Start, End, Style, Name, MarginL, MarginR, MarginV, Effect, Text Dialogue: 0,9:59:59.99,9:59:59.99,Default,,0000,0000,0000,,Today, I talk about FAI.me, which is a\Nbuild for images. Dialogue: 0,9:59:59.99,9:59:59.99,Default,,0000,0000,0000,,First, anybody that never heard anything\Nabout FAI? Dialogue: 0,9:59:59.99,9:59:59.99,Default,,0000,0000,0000,,Ok Dialogue: 0,9:59:59.99,9:59:59.99,Default,,0000,0000,0000,,I started this project in 1999. Dialogue: 0,9:59:59.99,9:59:59.99,Default,,0000,0000,0000,,I'm not sure… Dialogue: 0,9:59:59.99,9:59:59.99,Default,,0000,0000,0000,,No, I'm sure that during those times, the\NDebian installer did not have Dialogue: 0,9:59:59.99,9:59:59.99,Default,,0000,0000,0000,,the preseeding stuff, so we needed\Nsomething automatically. Dialogue: 0,9:59:59.99,9:59:59.99,Default,,0000,0000,0000,,I installed the first cluster with FAI and\NI always do talks on FAI or Dialogue: 0,9:59:59.99,9:59:59.99,Default,,0000,0000,0000,,today in the lightning talks, I talk\Na little bit about dracut, Dialogue: 0,9:59:59.99,9:59:59.99,Default,,0000,0000,0000,,which is used in FAI. Dialogue: 0,9:59:59.99,9:59:59.99,Default,,0000,0000,0000,,So, what was the motivation. Dialogue: 0,9:59:59.99,9:59:59.99,Default,,0000,0000,0000,,A neighbour of mine, she came to me with Dialogue: 0,9:59:59.99,9:59:59.99,Default,,0000,0000,0000,,"My Windows desktop is broken,\Ncan you reinstall it?" Dialogue: 0,9:59:59.99,9:59:59.99,Default,,0000,0000,0000,,And in the end, I installed her Linux,\Nand I was shortly thinking about Dialogue: 0,9:59:59.99,9:59:59.99,Default,,0000,0000,0000,,"Should I use FAI for installing her\Ndesktop with Linux?" Dialogue: 0,9:59:59.99,9:59:59.99,Default,,0000,0000,0000,,And in the end, I did not use it because\NFAI is too complicated, Dialogue: 0,9:59:59.99,9:59:59.99,Default,,0000,0000,0000,,like the Debian installer, I guess it's\Nnot really that easy for beginners Dialogue: 0,9:59:59.99,9:59:59.99,Default,,0000,0000,0000,,because there are a lot of questions Dialogue: 0,9:59:59.99,9:59:59.99,Default,,0000,0000,0000,,but also FAI is not really for beginners. Dialogue: 0,9:59:59.99,9:59:59.99,Default,,0000,0000,0000,,So this was the motivation about thinking\Nabout FAI. Dialogue: 0,9:59:59.99,9:59:59.99,Default,,0000,0000,0000,,The target group was always advanced\Nsysadmins Dialogue: 0,9:59:59.99,9:59:59.99,Default,,0000,0000,0000,,but I thought maybe it's possible to make\NFAI usable also for people Dialogue: 0,9:59:59.99,9:59:59.99,Default,,0000,0000,0000,,that are not that advanced sysadmins. Dialogue: 0,9:59:59.99,9:59:59.99,Default,,0000,0000,0000,,The idea is that an installer should cover\Nmost installations. Dialogue: 0,9:59:59.99,9:59:59.99,Default,,0000,0000,0000,,The Debian installer is really perfect\Nbecause I think it covers Dialogue: 0,9:59:59.99,9:59:59.99,Default,,0000,0000,0000,,all different kinds and strange environments Dialogue: 0,9:59:59.99,9:59:59.99,Default,,0000,0000,0000,,You can do a lot of things, you can configure\Nvery strange combination of language, Dialogue: 0,9:59:59.99,9:59:59.99,Default,,0000,0000,0000,,keyboard layout and so on Dialogue: 0,9:59:59.99,9:59:59.99,Default,,0000,0000,0000,,but I was thinking about an installer\Nthat covers 90 or 95% of the installations Dialogue: 0,9:59:59.99,9:59:59.99,Default,,0000,0000,0000,,A lot of special cases can be ignored and\Nsince the Debian installer has like Dialogue: 0,9:59:59.99,9:59:59.99,Default,,0000,0000,0000,,more than 20 questions, I thought it would\Nbe much nicer if there were only Dialogue: 0,9:59:59.99,9:59:59.99,Default,,0000,0000,0000,,3 to 5 questions and I looked at Linux Mint\Nand Mageia installers, CentOS installer, Dialogue: 0,9:59:59.99,9:59:59.99,Default,,0000,0000,0000,,and they all ask much less questions. Dialogue: 0,9:59:59.99,9:59:59.99,Default,,0000,0000,0000,,In the Debian installer, we sometimes\Nhave also things that are asked Dialogue: 0,9:59:59.99,9:59:59.99,Default,,0000,0000,0000,,during the installation, so not everything\Nis asked at the very beginning. Dialogue: 0,9:59:59.99,9:59:59.99,Default,,0000,0000,0000,,For example, the task selection, where you\Nselect your desktop, Dialogue: 0,9:59:59.99,9:59:59.99,Default,,0000,0000,0000,,is done after the base installation. Dialogue: 0,9:59:59.99,9:59:59.99,Default,,0000,0000,0000,,This was also very important, I would like\Nto have something that Dialogue: 0,9:59:59.99,9:59:59.99,Default,,0000,0000,0000,,asks everything at the very beginning. Dialogue: 0,9:59:59.99,9:59:59.99,Default,,0000,0000,0000,,Then, maybe some tool could create\Na customized installation image Dialogue: 0,9:59:59.99,9:59:59.99,Default,,0000,0000,0000,,and this installation image should run\Nthen completely unattended Dialogue: 0,9:59:59.99,9:59:59.99,Default,,0000,0000,0000,,so you can get yourself a coffee and\Nwhen you come back, your machine is ready. Dialogue: 0,9:59:59.99,9:59:59.99,Default,,0000,0000,0000,,There are 3 things to customize installation\Nimage, Dialogue: 0,9:59:59.99,9:59:59.99,Default,,0000,0000,0000,,you just put this image, you do not have\Nto touch anything, and then it's ready. Dialogue: 0,9:59:59.99,9:59:59.99,Default,,0000,0000,0000,,I thought "Oh yes, this is FAI, maybe\NFAI can do this." Dialogue: 0,9:59:59.99,9:59:59.99,Default,,0000,0000,0000,,As I said, FAI is only, or was until now\Nonly a tool for experienced sysadmins Dialogue: 0,9:59:59.99,9:59:59.99,Default,,0000,0000,0000,,and you have to adjust several config\Nfiles, these are ASCII files Dialogue: 0,9:59:59.99,9:59:59.99,Default,,0000,0000,0000,,but still you have to touch 5 to 10\Nconfig files to make a customization. Dialogue: 0,9:59:59.99,9:59:59.99,Default,,0000,0000,0000,,So, how can I make FAI usable for\Nbeginners? Dialogue: 0,9:59:59.99,9:59:59.99,Default,,0000,0000,0000,,That's the beginning of FAI.me. Dialogue: 0,9:59:59.99,9:59:59.99,Default,,0000,0000,0000,,There's a web page, we'll show it\Nin more detail later, Dialogue: 0,9:59:59.99,9:59:59.99,Default,,0000,0000,0000,,where you can just click some things, and\Nthen you get a customized image. Dialogue: 0,9:59:59.99,9:59:59.99,Default,,0000,0000,0000,,This image can be put onto a CD, DVD or\NUSB stick, just with dd Dialogue: 0,9:59:59.99,9:59:59.99,Default,,0000,0000,0000,,and the customization is just by using\Nthe web interface Dialogue: 0,9:59:59.99,9:59:59.99,Default,,0000,0000,0000,,so there's no need for you to edit\Na text file, a config file inside FAI. Dialogue: 0,9:59:59.99,9:59:59.99,Default,,0000,0000,0000,,I hope I covered most important thangs\Nthat you want to adjust Dialogue: 0,9:59:59.99,9:59:59.99,Default,,0000,0000,0000,,or a little bit customize. Dialogue: 0,9:59:59.99,9:59:59.99,Default,,0000,0000,0000,,You can add additional packages, I think\Nthat's the most important thing Dialogue: 0,9:59:59.99,9:59:59.99,Default,,0000,0000,0000,,that people say "I want to have the normal\NDebian installation Dialogue: 0,9:59:59.99,9:59:59.99,Default,,0000,0000,0000,,but with some additional packages." Dialogue: 0,9:59:59.99,9:59:59.99,Default,,0000,0000,0000,,And you can select different different\Ndistributions, so it's not only Dialogue: 0,9:59:59.99,9:59:59.99,Default,,0000,0000,0000,,the installation image for the stable\Nrelease, you can create Dialogue: 0,9:59:59.99,9:59:59.99,Default,,0000,0000,0000,,3 variants of the installation. Dialogue: 0,9:59:59.99,9:59:59.99,Default,,0000,0000,0000,,This is the web page and thanks to Yuri,\Nhe did a great job Dialogue: 0,9:59:59.99,9:59:59.99,Default,,0000,0000,0000,,during the first and second day, he added\Na new feature that we now have Dialogue: 0,9:59:59.99,9:59:59.99,Default,,0000,0000,0000,,a toggle button. Dialogue: 0,9:59:59.99,9:59:59.99,Default,,0000,0000,0000,,Is it big enough or should I zoom in? Dialogue: 0,9:59:59.99,9:59:59.99,Default,,0000,0000,0000,,Ok. Dialogue: 0,9:59:59.99,9:59:59.99,Default,,0000,0000,0000,,So, we have a toggle button, what you see\Nnow is just the bare minimum or questions Dialogue: 0,9:59:59.99,9:59:59.99,Default,,0000,0000,0000,,and we can toggle it to more advanced\Nsettings. Dialogue: 0,9:59:59.99,9:59:59.99,Default,,0000,0000,0000,,You have to select or just leave this as\Nit is, username, Dialogue: 0,9:59:59.99,9:59:59.99,Default,,0000,0000,0000,,if you do not enter a password, a password\Nwill be generated and shown to you Dialogue: 0,9:59:59.99,9:59:59.99,Default,,0000,0000,0000,,and sent by e-mail. Dialogue: 0,9:59:59.99,9:59:59.99,Default,,0000,0000,0000,,I will now just type in the password. Dialogue: 0,9:59:59.99,9:59:59.99,Default,,0000,0000,0000,,It's here in clear text, for me that's fine\Nbecause Dialogue: 0,9:59:59.99,9:59:59.99,Default,,0000,0000,0000,,there's also a comment that you should\Nchange the password after the installation Dialogue: 0,9:59:59.99,9:59:59.99,Default,,0000,0000,0000,,and I do not like to enter passwords twice\Nso you can see what you typed in Dialogue: 0,9:59:59.99,9:59:59.99,Default,,0000,0000,0000,,and hopefully do not make any wrong\Nmistakes. Dialogue: 0,9:59:59.99,9:59:59.99,Default,,0000,0000,0000,,For example, we could select the Stretch\Ndistribution with backports, Dialogue: 0,9:59:59.99,9:59:59.99,Default,,0000,0000,0000,,so we will get a 4.15 kernel with Stretch. Dialogue: 0,9:59:59.99,9:59:59.99,Default,,0000,0000,0000,,There are some buttons we can say we want\Nto have some Debian developer tools. Dialogue: 0,9:59:59.99,9:59:59.99,Default,,0000,0000,0000,,This is what I defined in the FAI\Nconfiguration, so just a list of packages. Dialogue: 0,9:59:59.99,9:59:59.99,Default,,0000,0000,0000,,Here, you can enter you own packages.\N Dialogue: 0,9:59:59.99,9:59:59.99,Default,,0000,0000,0000,,I will select the desktop. Dialogue: 0,9:59:59.99,9:59:59.99,Default,,0000,0000,0000,,You can have an installation without any\Ndesktop, so a very small installation. Dialogue: 0,9:59:59.99,9:59:59.99,Default,,0000,0000,0000,,I will select the XFCE desktop, but all\Nthe other desktops are here. Dialogue: 0,9:59:59.99,9:59:59.99,Default,,0000,0000,0000,,The language, these are just task packages\Nthat are… Dialogue: 0,9:59:59.99,9:59:59.99,Default,,0000,0000,0000,,I think Debian has much more task packages,\NI just searched which are Dialogue: 0,9:59:59.99,9:59:59.99,Default,,0000,0000,0000,,the most common languages, and what I do\Nif I say I want the spanish language, Dialogue: 0,9:59:59.99,9:59:59.99,Default,,0000,0000,0000,,also the keyboard layout is spanish. Dialogue: 0,9:59:59.99,9:59:59.99,Default,,0000,0000,0000,,I know there are different combinations\Nand with local time, Dialogue: 0,9:59:59.99,9:59:59.99,Default,,0000,0000,0000,,it's getting more difficult. Dialogue: 0,9:59:59.99,9:59:59.99,Default,,0000,0000,0000,,This installation will install the clock\Nwith UTC, so if you want to set Dialogue: 0,9:59:59.99,9:59:59.99,Default,,0000,0000,0000,,your time, you have to do this manually. Dialogue: 0,9:59:59.99,9:59:59.99,Default,,0000,0000,0000,,I want to cover the most common installations. Dialogue: 0,9:59:59.99,9:59:59.99,Default,,0000,0000,0000,,We select english US, the desktop and,\Nas an example, the midnight commander Dialogue: 0,9:59:59.99,9:59:59.99,Default,,0000,0000,0000,,and GIMP. Dialogue: 0,9:59:59.99,9:59:59.99,Default,,0000,0000,0000,,I can add an email address so if it would\Ntake longer, Dialogue: 0,9:59:59.99,9:59:59.99,Default,,0000,0000,0000,,for example if this service will have\Nsuccess and a lot of people are using it, Dialogue: 0,9:59:59.99,9:59:59.99,Default,,0000,0000,0000,,you may wait for some minutes so your job\Nwill be finished. Dialogue: 0,9:59:59.99,9:59:59.99,Default,,0000,0000,0000,,So here are the comments, how to reconfigure\Nthe keyboard or the timezone Dialogue: 0,9:59:59.99,9:59:59.99,Default,,0000,0000,0000,,and then you just click "Create\Nthe installation image". Dialogue: 0,9:59:59.99,9:59:59.99,Default,,0000,0000,0000,,Now, in the background, there's some job,\Na script, looking "Oh, there's a new job" Dialogue: 0,9:59:59.99,9:59:59.99,Default,,0000,0000,0000,,and there's a summary of the configuration,\Nof the web configuration. Dialogue: 0,9:59:59.99,9:59:59.99,Default,,0000,0000,0000,,Down here you see these are the\NFAI classes, Dialogue: 0,9:59:59.99,9:59:59.99,Default,,0000,0000,0000,,I will explain a little bit more about this. Dialogue: 0,9:59:59.99,9:59:59.99,Default,,0000,0000,0000,,But with this information, FAI configuration\Nis generated, Dialogue: 0,9:59:59.99,9:59:59.99,Default,,0000,0000,0000,,that's what normally the experienced\Nsysadmins have to create Dialogue: 0,9:59:59.99,9:59:59.99,Default,,0000,0000,0000,,but here you just click on some buttons\Nand it will be done for you. Dialogue: 0,9:59:59.99,9:59:59.99,Default,,0000,0000,0000,,In the meantime, we have some more\Nadvanced features Dialogue: 0,9:59:59.99,9:59:59.99,Default,,0000,0000,0000,,which I will also show you later. Dialogue: 0,9:59:59.99,9:59:59.99,Default,,0000,0000,0000,,For example, this very simple installation\Njust creates one partition Dialogue: 0,9:59:59.99,9:59:59.99,Default,,0000,0000,0000,,but you can also select that you want\Nto have a separate /home partition Dialogue: 0,9:59:59.99,9:59:59.99,Default,,0000,0000,0000,,or using lvm just by selecting this\Non the web interface. Dialogue: 0,9:59:59.99,9:59:59.99,Default,,0000,0000,0000,,You can also add your SSH public key\Nfor logging as root without a password Dialogue: 0,9:59:59.99,9:59:59.99,Default,,0000,0000,0000,,or what's very nice, I found the new\NUbuntu installer does this, Dialogue: 0,9:59:59.99,9:59:59.99,Default,,0000,0000,0000,,you can give your github account and\Nthen there's a comment which Dialogue: 0,9:59:59.99,9:59:59.99,Default,,0000,0000,0000,,receives the public key from your\Ngithub account and puts it Dialogue: 0,9:59:59.99,9:59:59.99,Default,,0000,0000,0000,,into the root account so you can log in\Nwithout password. Dialogue: 0,9:59:59.99,9:59:59.99,Default,,0000,0000,0000,,I think that's very neat.