Skip to content

Instantly share code, notes, and snippets.

@enihcam
enihcam / systemd-homed.log
Created April 26, 2023 16:47
`Activation failed: Required key not available`
Apr 26 23:12:40 archlinux systemd-homed[696]: sd-device-monitor(n/a): Unable to get network namespace of udev netlink socket, unable to determine if we are in host netns, ignoring: Operation not permitted
Apr 26 23:12:40 archlinux systemd-homed[696]: User record testuser.identity is signed only by us, accepting.
Apr 26 23:12:40 archlinux systemd-homed[696]: Not scheduling rebalancing, not needed.
Apr 26 23:12:40 archlinux systemd-homed[696]: Added registered home for user testuser.
Apr 26 23:12:40 archlinux systemd-homed[696]: Found an image for user testuser which already has a record, skipping.
Apr 26 23:12:40 archlinux systemd-homed[696]: Found partition (/sys/devices/pci0000:00/0000:00:06.0/virtio1/block/vda/vda1) we don't care about, ignoring.
Apr 26 23:12:40 archlinux systemd-homed[696]: Found partition (/sys/devices/pci0000:00/0000:00:06.0/virtio1/block/vda/vda2) we don't care about, ignoring.
Apr 26 23:12:40 archlinux systemd-homed[696]: Bus n/a: changing state AUTHENTICATING → HELLO
Apr 26 23:12:40 a
@enihcam
enihcam / CreateArchVM.ps1
Created June 12, 2018 02:08
Powershell script to deploy Archlinux VM in Azure
#part I: upload VHD
$location = "East Asia"
$rgStorName = "backup"
$rgStor = New-AzureRmResourceGroup -Name $rgStorName -Location $location
$storName = "archstor"
$stor = New-AzureRmStorageAccount -ResourceGroupName $rgStorName -Name $storName -Location $location -SkuName Standard_LRS
$vhdUri = "https://archstor.blob.core.windows.net/vhd/Archlinux.vhd"
$localPath = "C:\Backup\Archlinux.vhd"
$vhd = Add-AzureRmVhd -ResourceGroupName $rgStorName -Destination $vhdUri -LocalFilePath $localPath -NumberOfUploaderThreads 8