manbytesgnu_site

Source files for manbytesgnu.org
git clone git://holbrook.no/manbytesgnu_site.git
Log | Files | Refs

20210623_swarm_qemu.rst (1239B)


      1 Self-sufficient swarm on qemu
      2 #############################
      3 
      4 :date: 2021-06-23 12:49
      5 :modified: 2021-06-23 12:49 
      6 :category: Hygiene
      7 :author: Louis Holbrook
      8 :tags: swarm,golang,qemu
      9 :slug: swarm-qemu
     10 :summary: How do document complex task chains in Python Celery using graphviz
     11 :lang: en
     12 :status: draft
     13 :series: Self-sufficient Swarm
     14 :seriesprefix: swarm-self-sufficient
     15 :seriespart: 1
     16 
     17 
     18 base debian qemu install
     19 ========================
     20 
     21 
     22 .. code-block:: bash
     23         
     24         dd if=/dev/zero of=debootstrap.bin count=10485760 bs=512
     25         mkfs.ext4 debootstrap.bin
     26         mount -o loop debootstrap.bin /mnt
     27         debootstrap --arch=amd64 buster /mnt
     28 
     29 .. code-block:: bash
     30 
     31         qemu-system-x86_64 -cdrom /mnt/iso/debian-10.9.0-amd64-xfce-CD-1.iso -hda debian.bin -hdb clef.bin -m 4g --enable-kvm -virtfs local,path=/mnt,id=foo,readonly=on,mount_tag=bar,security_model=passthrough
     32 
     33 
     34 
     35 .. code-block:: bash
     36 
     37         mount -t 9p -o trans=virtio mount_tag /mnt/resource -oversion=9p2000.L,posixacl,msize=104857600,cache=loose
     38 
     39 clef/swarm provisions
     40 =====================
     41 
     42 
     43 ethereum node provisions
     44 ========================
     45 
     46 
     47 xdai requisites
     48 ===============
     49 
     50 
     51 mainchain requisites
     52 ====================
     53 
     54 
     55 orchestration
     56 =============
     57 
     58 
     59