autoinstall question
This document : The obvious data file we have to add to the ISO is our autoconfigure file. However, it has to be set up in a directory for itself and a companion file, and each has to be called special names. Let's say that the directory within the ISO that we're going to use for this is called /cslab/inst. Then our autoinstall configuration file must be called /cslab/inst/user-data, and we need an empty /cslab/inst/meta-data file beside it. At install time, the path to this directory is /cdrom/cslab/inst, because the ISO is mounted on /cdrom. (I put our configuration in a subdirectory here because we put additional bootstrap files under /cslab that are copied onto the system as part of the autoinstall.) The isolinux configuration file we need to modify in the ISO is /isolinux/txt.cfg. We want to modify the kernel command line to add a new argument, 'ds=nocloud;s=/cdrom/cslab/inst/'. So: default live label live menu label ^Install Ubuntu Server kernel /casper/vmlinuz append initrd=/casper/initrd quiet ds=nocloud;s=/cdrom/cslab/inst/ --- gives a PATH to /cdrom/cslab/inst and the file "has" to be named user-data (in this example) WHY? how do I support Multiple selections on the txt.cfg file I am not getting "nothing" happening for autoinstall. I need more than one file not just user-data. How do I do that? My file is placed at /cdrom/autoinstall_mediacontroller_ubutu20.yaml my txt.cfg file is : label LSI-M menu label ^Install Ubuntu MediaController 20.04 LSI AutoInstall kernel /casper/vmlinuz append initrd=/casper/initrd debian-installer/local=en_US autoinstall ds=nocloud;s=/cdrom/autoinstall_mediacontroller_ubuntu20.yaml quiet splash biosdevname=0 net.ifnames=0 --- I get the boot menu - I select my item - nothing auto install happens - it just boots to the normal stuff. I based off of live-server-20.04 Thanks, Jerry -- Ubuntu-devel-discuss mailing list Ubuntu-devel-discuss@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss
Trying autoinstall
So I have this file: #cloud-config autoinstall: version: 1 early-commands: - echo a - sleep 1 - echo a locale: en_US refresh-installer: update: no user-data: timezone: America/New_York debconf-selections: eek network: network: version: 2 ethernets: eth0: dhcp4: yes dhcp6: no dhcp-identifier: mac ssh: allow-pw: true install-server: true packages: - package1 - package2 late-commands: - echo LS_server > /root/LS_server - echo a - sleep 1 - echo a keyboard: layout: en identity: realname: '' username: silentm password: X hostname: Image My isolinux/txt.cfg file I added: label LSI-S menu label ^Install Ubuntu Server 20.04 LSI kernel /casper/vmlinuz append initrd=/casper/initrd debian-installer/local=en_US autoinstall ds="nocloud;s=/cdrom/kickstart/autoinstall_server_ubuntu20.yaml" quiet splash biosdevname=0 net.ifnames=0 --- I see the selection - I make that selection - and I just get the normal installer. What am I missing to use the autoinstaller ? Jerry -- Ubuntu-devel-discuss mailing list Ubuntu-devel-discuss@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss
Re: Kickstart how to detect disks 20.04 LTS
Correct. I am trying to determine the correct disk vda/sda/nvme and then the size. blockdev --getsz /dev/vda in the %pre section did nothing. Perhaps something is not available yet at boot for this to work. Jerry -- Ubuntu-devel-discuss mailing list Ubuntu-devel-discuss@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss
Re: Kickstart how to detect disks 20.04 LTS
Thank you - however this does not seem to be true. I am a long time CentOS user - and this document seems good for CentOS. - noted However- just something like "editors" that are supposed to be available it says Vi. It is not available on Ubunutu duing install only nano. - ithink tiny vim and nano is included. However - looks like blockdev is available and will tell me the size. That will work. Perfect. On Thu, Jan 7, 2021 at 9:58 PM Jerry Geis wrote: > Thank you - however this does not seem to be true. I am a long time > CentOS user - and this document seems good for CentOS. > However- just something like "editors" that are supposed to be > available it says Vi. It is not available on Ubunutu duing install only > nano. > > However - looks like blockdev is available and will tell me the size. That > will work. Perfect. > > Jerry > -- with regards *Ko Ko Ye`* +95 97989 22022 +95 94500 22022 +95 9731 47907 kokoye2...@gmail.com kokoye2...@ubuntu.com skype: kokoye2007 jitsi: kokoye2007 http://ubuntu-mm.net http://wiki.ubuntu.com/kokoye2007 http://wiki.ubuntu.com/MyanmarTeam http://loco.ubuntu.com/teams/ubuntu-mm -- Ubuntu-devel-discuss mailing list Ubuntu-devel-discuss@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss
Re: Kickstart how to detect disks 20.04 LTS
VDA for Virtual you must be test hda / sda On Thu, Jan 7, 2021 at 10:46 PM Jerry Geis wrote: > doesnt seem blockdev --getsz /dev/vda is available at %pre time either. > > jerry > > -- with regards *Ko Ko Ye`* +95 97989 22022 +95 94500 22022 +95 9731 47907 kokoye2...@gmail.com kokoye2...@ubuntu.com skype: kokoye2007 jitsi: kokoye2007 http://ubuntu-mm.net http://wiki.ubuntu.com/kokoye2007 http://wiki.ubuntu.com/MyanmarTeam http://loco.ubuntu.com/teams/ubuntu-mm -- Ubuntu-devel-discuss mailing list Ubuntu-devel-discuss@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss
Re: helping golang-golang-x-sys to migrate
Cool, thanks. IT seems we have an additional failure now at https://objectstorage.prodstack4-5.canonical.com/v1/AUTH_77e2ada1e7a84929a74ba3b87153c0ac/autopkgtest-hirsute/hirsute/amd64/v/victoriametrics/20210107_084114_85c06@/log.gz -- the relevant part might be this one: 2021-01-07T08:40:46.015Zinfo VictoriaMetrics/lib/mergeset/table.go:203 table "/tmp/autopkgtest.a1SU4e/autopkgtest_tmp/_build/src/github.com/VictoriaMetrics/VictoriaMetrics/lib/storage/TestStorageRegisterMetricNamesConcurrent/indexdb/1657E67DA0CA2C97" has been opened in 0.002 seconds; partsCount: 0; blocksCount: 0, itemsCount: 0; sizeBytes: 0 storage_test.go:699: unexpected error: error in SearchMetricNames: cannot search for tsids, since more than 2 concurrent searches are performed during -1610008847.000 secs; add more CPUs or reduce query load --- FAIL: TestStorageRegisterMetricNamesConcurrent (0.49s) Maybe the test machine doesn't have enough CPUs for these tests? Can we retry the failing tests on larger machines? -rt On Thu, Jan 7, 2021 at 3:32 AM Lukasz Zemczak wrote: > Hey Reinhard, > > I see that at least golang-github-canonical-go-dqlite seems like a > good candidate to hint with a force-reset-test - I'll do that later > today (as it only passed *once* in its whole testing history, so it's > not a reliable testsuite). > I have retried one of the failures there and will try seeing if the > other failures make any sense. > > Cheers, > > On Sun, 3 Jan 2021 at 22:11, Reinhard Tartler wrote: > > > > Hi folks, > > > > I couple of golang packages I care deeply about are stuck in > hirsute-proposed due to autopkgtest failures that I had a hard time > understanding. I've come to the conclusion that the problem must be related > to > https://people.canonical.com/~ubuntu-archive/proposed-migration/hirsute/update_excuses.html#golang-golang-x-sys > > > > It seems that there are regressions in the following packages: > > > > - golang-github-canonical-go-dqlite > > - golang-github-lucas-clemente-quic-go > > - golang-google-grpc > > > > I'm not familiar with those testsuites, but on the first look, there > might be timing issues. > > > > I'd appreciate some thoughts/comments on helping golang-golang-x-sys > migrate to hirsute. > > > > Thanks! > > > > -- > > regards, > > Reinhard > > -- > > ubuntu-devel mailing list > > ubuntu-devel@lists.ubuntu.com > > Modify settings or unsubscribe at: > https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel > > > > -- > Łukasz 'sil2100' Zemczak > Foundations Team > lukasz.zemc...@canonical.com > www.canonical.com > -- regards, Reinhard -- ubuntu-devel mailing list ubuntu-devel@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel
Re: Kickstart how to detect disks 20.04 LTS
doesnt seem blockdev --getsz /dev/vda is available at %pre time either. jerry -- Ubuntu-devel-discuss mailing list Ubuntu-devel-discuss@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss
Re: curl in Debian behind latest version?
If you are intending to target the Debian versions, you're in the wrong mailing list, as this is for Ubuntu. For Ubuntu, this may be relevant: https://askubuntu.com/questions/151283/why-dont-the-ubuntu-repositories-have-the-latest-versions-of-software Thomas On 1/6/21 9:07 PM, Paul Hoffman wrote: Greetings. curl in debian is at version 7.68, but it has been updated several times since then. Is there a reason that the Debian package hasn't been updated? If so, where can I track that conversation? --Paul Hoffman -- Ubuntu-devel-discuss mailing list Ubuntu-devel-discuss@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss
curl in Debian behind latest version?
Greetings. curl in debian is at version 7.68, but it has been updated several times since then. Is there a reason that the Debian package hasn't been updated? If so, where can I track that conversation? --Paul Hoffman -- Ubuntu-devel-discuss mailing list Ubuntu-devel-discuss@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss
Bug#979436: resolvconf: Missing cleanup for obsolete dnscache conffile
Package: resolvconf Version: 1.86 Severity: normal Hi! This package used to ship the /etc/resolvconf/update.d/dnscache conffile, which stopped being shipped in version 1.75, but the conffile was never cleaned up in the maintainer scripts, so it is left behind in the system and marked as obsolete in the dpkg database. Thanks, Guillem -- Ubuntu-devel-discuss mailing list Ubuntu-devel-discuss@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss
Bug#979431: resolvconf: Unconditional use of systemctl
Package: resolvconf Version: 1.86 Severity: normal Hi! This package makes unconditional use of systemctl in at least the /etc/dhcp/dhclient-enter-hooks.d/resolvconf script, which on a sysvinit system then shows the following message: ,--- /sbin/dhclient-script: 19: /etc/dhcp/dhclient-enter-hooks.d/resolvconf: systemctl: not found `--- Thanks, Guillem -- Ubuntu-devel-discuss mailing list Ubuntu-devel-discuss@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss
Bug#979431: marked as done (resolvconf: Unconditional use of systemctl)
Your message dated Wed, 06 Jan 2021 18:08:07 + with message-id and subject line Bug#979431: fixed in resolvconf 1.87 has caused the Debian Bug report #979431, regarding resolvconf: Unconditional use of systemctl to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact ow...@bugs.debian.org immediately.) -- 979431: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=979431 Debian Bug Tracking System Contact ow...@bugs.debian.org with problems --- Begin Message --- Package: resolvconf Version: 1.86 Severity: normal Hi! This package makes unconditional use of systemctl in at least the /etc/dhcp/dhclient-enter-hooks.d/resolvconf script, which on a sysvinit system then shows the following message: ,--- /sbin/dhclient-script: 19: /etc/dhcp/dhclient-enter-hooks.d/resolvconf: systemctl: not found `--- Thanks, Guillem --- End Message --- --- Begin Message --- Source: resolvconf Source-Version: 1.87 Done: Andrej Shadura We believe that the bug you reported is fixed in the latest version of resolvconf, which is due to be installed in the Debian FTP archive. A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to 979...@bugs.debian.org, and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Andrej Shadura (supplier of updated resolvconf package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing ftpmas...@ftp-master.debian.org) -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Format: 1.8 Date: Wed, 06 Jan 2021 18:54:17 +0100 Source: resolvconf Architecture: source Version: 1.87 Distribution: unstable Urgency: medium Maintainer: resolvconf team Changed-By: Andrej Shadura Closes: 943735 979431 979436 Changes: resolvconf (1.87) unstable; urgency=medium . * Undo the damage on an incorrect merge commit: - Fix the maintainer’s address (Closes: #943735) - Revert "Skip pulling data into resolvconf, if isc-dhcp/ifupdown already push the same data to systemd-resolved and it is in use". Debian does not ship said hooks in ifupdown or isc-dhcp-client, so these fixes won’t work. Also, they use systemctl unconditionally which is fine in Ubuntu but not in Debian. (Closes: #979431) * Clean up the old conffile (Closes: #979436) Checksums-Sha1: a3cd188fbd03edd2ddf7cfdfd8fe130d5faf1992 1483 resolvconf_1.87.dsc 4c85aa4482f9ed933cb2c2efdd9ce8531ff1877a 73452 resolvconf_1.87.tar.xz Checksums-Sha256: 22c98325f1ba298a9b00f461a1943f00c36b419d9fdfba94a1624c81654560a1 1483 resolvconf_1.87.dsc e86869b6c0ed3e9b4cab2b409e27d28294df8c71ef361c10545c81243c48e39f 73452 resolvconf_1.87.tar.xz Files: e269ce79e7ca79eabd0304d7c6928734 1483 net optional resolvconf_1.87.dsc 3da444b2152726d84e6957b9d93687bd 73452 net optional resolvconf_1.87.tar.xz -BEGIN PGP SIGNATURE- iQEzBAEBCAAdFiEEeuS9ZL8A0js0NGiOXkCM2RzYOdIFAl/1+aUACgkQXkCM2RzY OdLCjwgAhxeA9j817F6godyCAWxCpP9OeEHcsqX5vbRvrVx7JufpmtXNIK5h+FQE HBj3erl+EDo+FXhaTeN8ZDrGr8pK/eRiQ4nc9XMNHE+rjesqbfXCnqu2V3Ff39NK q1HmCtFOnLLUL4pj5JCnSEv9gKHKB1N5unAle7cPAiEeqX3dyWfvb1t+zjzbYimn D8samJy/B5VYbBFUzIt/S89BMZ7mx89D/nDLCnO5yBg87ucu7v+//0hqI6VwRVuv 2rCEQhKa5niItAPzg4+oAndnLLNlVEOrtTa2K774TFfFG4M74NCM7UsDbxqGmxad QNYZYr61ks9+BdsBx69vzfpH5zckvQ== =Zftd -END PGP SIGNATURE End Message --- -- Ubuntu-devel-discuss mailing list Ubuntu-devel-discuss@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss
Re: Kickstart how to detect disks 20.04 LTS
Thank you - however this does not seem to be true. I am a long time CentOS user - and this document seems good for CentOS. However- just something like "editors" that are supposed to be available it says Vi. It is not available on Ubunutu duing install only nano. However - looks like blockdev is available and will tell me the size. That will work. Perfect. Jerry -- Ubuntu-devel-discuss mailing list Ubuntu-devel-discuss@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss
Re: Ubuntu 20.04 kickstart
Thanks - I started with autoinstall. I could not get it to recognize anything for autoinstall. Wasnt till I switched to legacy and kickstart that I made progress. Jerry -- Ubuntu-devel-discuss mailing list Ubuntu-devel-discuss@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss
Re: Ubuntu 20.04 kickstart
live supports autoinstall with simple yaml files to describe the install which are a lot more simple than either kickstart or preseed. Have you looked into https://ubuntu.com/server/docs/install/autoinstall and does that at all fit your needs? Alternatively if you have more than 3 servers to provision, have you tried MAAS? https://maas.io/ it's a small snap that allows programmatically deploy, and redeploy, any Ubuntu any CentOS etc. In a reproducible way. On Wed, Jan 6, 2021 at 8:04 PM Jerry Geis wrote: > > I had to change to legacy CD as live and desktop did not seem to support > kickstart. > > Can this be re-considered. With the CentOS 8 issues happening - more people > might be looking at switching - and kickstart is something they use? > > Seems as though kickstart was getting fazed out. > > Thanks > > Jerry > -- > Ubuntu-devel-discuss mailing list > Ubuntu-devel-discuss@lists.ubuntu.com > Modify settings or unsubscribe at: > https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss -- Regards, Dimitri. -- Ubuntu-devel-discuss mailing list Ubuntu-devel-discuss@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss
Re: Kickstart how to detect disks 20.04 LTS
https://unix.stackexchange.com/questions/131690/what-commands-are-available-in-the-pre-section-of-a-kickstart-file-on-centos On Thu, Jan 7, 2021 at 8:54 PM Jerry Geis wrote: > How do you "detect" disks in the %pre section of kickstart ??? > > I have tried fdisk - command not available > I tried ln busybox to fdisk and it says applet not available. > > I tried dmesg | grep vda and dmesg | grep sda - seems as linux has not yet > detected teh disk during the pre section... > > So how do I determine the DISK I want to install on - and also the size ? > > Thanks > > Jerry > -- > Ubuntu-devel-discuss mailing list > Ubuntu-devel-discuss@lists.ubuntu.com > Modify settings or unsubscribe at: > https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss > -- with regards *Ko Ko Ye`* +95 97989 22022 +95 94500 22022 +95 9731 47907 kokoye2...@gmail.com kokoye2...@ubuntu.com skype: kokoye2007 jitsi: kokoye2007 http://ubuntu-mm.net http://wiki.ubuntu.com/kokoye2007 http://wiki.ubuntu.com/MyanmarTeam http://loco.ubuntu.com/teams/ubuntu-mm -- Ubuntu-devel-discuss mailing list Ubuntu-devel-discuss@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss
Kickstart how to detect disks 20.04 LTS
How do you "detect" disks in the %pre section of kickstart ??? I have tried fdisk - command not available I tried ln busybox to fdisk and it says applet not available. I tried dmesg | grep vda and dmesg | grep sda - seems as linux has not yet detected teh disk during the pre section... So how do I determine the DISK I want to install on - and also the size ? Thanks Jerry -- Ubuntu-devel-discuss mailing list Ubuntu-devel-discuss@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss
Re: Ubuntu 20.04 kickstart
Hi Jerry I am not sure about fdisk and relative for current storage. I will test your last email script. with regards. https://help.ubuntu.com/lts/installation-guide/amd64/apbs04.html https://help.ubuntu.com/lts/installation-guide/amd64/apb.html https://www.debian.org/releases/stable/amd64/apb.en.html https://help.ubuntu.com/lts/installation-guide/example-preseed.txt On Thu, Jan 7, 2021 at 2:34 AM Jerry Geis wrote: > I had to change to legacy CD as live and desktop did not seem to support > kickstart. > > Can this be re-considered. With the CentOS 8 issues happening - more > people might be looking at switching - and kickstart is something they use? > > Seems as though kickstart was getting fazed out. > > Thanks > > Jerry > -- > Ubuntu-devel-discuss mailing list > Ubuntu-devel-discuss@lists.ubuntu.com > Modify settings or unsubscribe at: > https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss > -- with regards *Ko Ko Ye`* +95 97989 22022 +95 94500 22022 +95 9731 47907 kokoye2...@gmail.com kokoye2...@ubuntu.com skype: kokoye2007 jitsi: kokoye2007 http://ubuntu-mm.net http://wiki.ubuntu.com/kokoye2007 http://wiki.ubuntu.com/MyanmarTeam http://loco.ubuntu.com/teams/ubuntu-mm -- Ubuntu-devel-discuss mailing list Ubuntu-devel-discuss@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss
Re: helping golang-golang-x-sys to migrate
Hey Reinhard, I see that at least golang-github-canonical-go-dqlite seems like a good candidate to hint with a force-reset-test - I'll do that later today (as it only passed *once* in its whole testing history, so it's not a reliable testsuite). I have retried one of the failures there and will try seeing if the other failures make any sense. Cheers, On Sun, 3 Jan 2021 at 22:11, Reinhard Tartler wrote: > > Hi folks, > > I couple of golang packages I care deeply about are stuck in hirsute-proposed > due to autopkgtest failures that I had a hard time understanding. I've come > to the conclusion that the problem must be related to > https://people.canonical.com/~ubuntu-archive/proposed-migration/hirsute/update_excuses.html#golang-golang-x-sys > > It seems that there are regressions in the following packages: > > - golang-github-canonical-go-dqlite > - golang-github-lucas-clemente-quic-go > - golang-google-grpc > > I'm not familiar with those testsuites, but on the first look, there might be > timing issues. > > I'd appreciate some thoughts/comments on helping golang-golang-x-sys migrate > to hirsute. > > Thanks! > > -- > regards, > Reinhard > -- > ubuntu-devel mailing list > ubuntu-devel@lists.ubuntu.com > Modify settings or unsubscribe at: > https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel -- Łukasz 'sil2100' Zemczak Foundations Team lukasz.zemc...@canonical.com www.canonical.com -- ubuntu-devel mailing list ubuntu-devel@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel