From: Vitaly Chikunov <vt@altlinux.org> To: ALT Linux Team development discussions <devel@lists.altlinux.org> Subject: Re: [devel] [I] rpm-build-vm: vm-run (update 1.3) Date: Thu, 12 Dec 2019 19:21:43 +0300 Message-ID: <20191212162143.z7nhct3owbcm5f4t@altlinux.org> (raw) In-Reply-To: <20191013212947.2ecbhr6377allvz4@altlinux.org> Добавил, чтоб по умолчанию были все ядра и MemAvailable памяти. Так же поддержка share_network=1. Демо: $ hsh-install iproute2 telnet $ share_network=1 hsh-shell --mountpoints=/proc,/dev/kvm builder@x86_64:/.in$ vm-run root@x86_64:/.in# nproc 32 root@x86_64:/.in# free -h total used free shared buff/cache available Mem: 13Gi 78Mi 13Gi 0B 14Mi 12Gi root@x86_64:/.in# telnet yandex.ru 80 Trying 77.88.55.88... Connected to yandex.ru. Escape character is '^]'. ... Есть возможность выбрать ядро если заинсталлировать его вручную перед инсталлом rpm-build-vm. (Пока) обязательно _перед_, иначе не будет initrd. $ hsh-install kernel-image-std-def kernel-image-rt $ hsh-install rpm-build-vm <13>Dec 12 16:17:41 rpmi: rpm-build-vm-1.2-alt1 1576165647 installed $ hsh-shell --mountpoints=/proc,/dev/kvm builder@x86_64:/.in$ ls -la /boot/initrd* -rw-r--r-- 1 rooter rooter 13334528 Dec 12 16:17 /boot/initrd-4.19.59-rt-alt8.rt24.img -rw-r--r-- 1 rooter rooter 12400128 Dec 12 16:17 /boot/initrd-4.19.88-std-def-alt1.img -rw-r--r-- 1 rooter rooter 12431872 Dec 12 16:17 /boot/initrd-5.3.15-un-def-alt1.img builder@x86_64:/.in$ vm-run --kernel=rt root@x86_64:/.in# uname -a Linux (none) 4.19.59-rt-alt8.rt24 #1 SMP PREEMPT RT Sun Nov 24 02:02:59 UTC 2019 x86_64 GNU/Linux
next prev parent reply other threads:[~2019-12-12 16:21 UTC|newest] Thread overview: 56+ messages / expand[flat|nested] mbox.gz Atom feed top 2019-10-13 21:29 [devel] [I] rpm-build-vm: vm-run Vitaly Chikunov 2019-10-14 6:18 ` Anton Farygin 2019-10-14 11:16 ` Vitaly Chikunov 2019-10-14 11:25 ` Anton Farygin 2019-10-14 12:22 ` Vitaly Chikunov 2019-10-14 12:33 ` Anton Farygin 2019-10-14 12:36 ` Alexey V. Vissarionov 2019-10-14 12:39 ` Vitaly Chikunov 2019-10-14 12:42 ` Alexey V. Vissarionov 2019-10-14 20:54 ` Dmitry V. Levin 2019-10-14 21:53 ` Vladimir D. Seleznev 2019-10-15 3:56 ` Anton Farygin 2019-10-15 6:19 ` Vladimir D. Seleznev 2019-10-15 7:05 ` Anton Farygin 2019-10-15 7:17 ` Alexey V. Vissarionov 2019-10-15 11:31 ` Anton Farygin 2019-10-15 7:32 ` Michael Shigorin 2019-10-15 11:30 ` Anton Farygin 2019-10-15 18:22 ` Dmitry V. Levin 2019-10-15 18:28 ` Anton Farygin 2019-10-15 18:33 ` Dmitry V. Levin 2019-10-15 18:48 ` Anton Farygin 2019-10-15 19:08 ` Vladimir D. Seleznev 2019-10-16 4:48 ` Anton Farygin 2019-10-16 4:51 ` Alexey V. Vissarionov 2019-10-15 19:24 ` Dmitry V. Levin 2019-10-15 19:44 ` Vitaly Chikunov 2019-10-16 4:52 ` Anton Farygin 2019-10-15 22:33 ` Alexey V. Vissarionov 2019-10-16 4:56 ` Anton Farygin 2019-10-15 19:06 ` Vladimir D. Seleznev 2019-10-16 5:05 ` Anton Farygin 2019-10-18 0:40 ` Vladimir D. Seleznev 2019-10-18 4:48 ` Anton Farygin 2019-10-18 17:43 ` Vladimir D. Seleznev 2019-10-19 5:16 ` Anton Farygin 2019-10-18 8:32 ` Michael Shigorin 2019-10-18 9:12 ` Anton Farygin 2019-10-18 9:29 ` Michael Shigorin 2019-10-18 9:36 ` Anton Farygin 2019-10-18 10:39 ` [devel] [JT] сборочница 3.0, qa/ci, ресурсы, приоритеты (was: [I] rpm-build-vm: vm-run) Michael Shigorin 2019-10-18 10:52 ` [devel] [JT] сборочница 3.0, qa/ci, ресурсы, приоритеты Anton Farygin 2019-10-15 4:04 ` [devel] [I] rpm-build-vm: vm-run Anton Farygin 2019-10-15 4:16 ` Alexey V. Vissarionov 2019-10-15 5:22 ` Anton Farygin 2019-10-15 5:25 ` Alexey V. Vissarionov 2019-12-11 11:15 ` Anton Farygin 2019-12-11 12:33 ` Vitaly Chikunov 2019-12-11 16:48 ` Anton Farygin 2019-12-12 15:12 ` Anton Farygin 2019-12-12 16:06 ` Vitaly Chikunov 2019-12-12 16:25 ` Anton Farygin 2019-12-16 4:04 ` Anton Farygin 2019-12-12 16:21 ` Vitaly Chikunov [this message] 2020-02-18 7:56 ` Oleg Solovyov 2020-02-18 10:32 ` Vitaly Chikunov
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20191212162143.z7nhct3owbcm5f4t@altlinux.org \ --to=vt@altlinux.org \ --cc=devel@lists.altlinux.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
ALT Linux Team development discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \ devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru public-inbox-index devel Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.devel AGPL code for this site: git clone https://public-inbox.org/public-inbox.git