Create /etc/ceph/ceph.conf
[global]
auth cluster required = none
auth service required = none
auth client required = none
(defvar my-smtp-list | |
'(("aa@bb" "AA BB") | |
("cc@dd" "西西滴滴") | |
("ee@ff" "EeFf")) | |
"A list of smtp account.") | |
(defun my-complete-sender () | |
"Complete email sender, from `my-smtp-list'." | |
(interactive) | |
(let* ((lst (mapcar |
{ stdenv, ensureNewerSourcesHook, autoconf, automake, makeWrapper, pkgconfig | |
, libtool, which, git | |
, boost, python2Packages, libxml2, zlib | |
# Optional Dependencies | |
, snappy ? null, leveldb ? null, yasm ? null, fcgi ? null, expat ? null | |
, curl ? null, fuse ? null, accelio ? null, libibverbs ? null, librdmacm ? null | |
, libedit ? null, libatomic_ops ? null, kinetic-cpp-client ? null | |
, rocksdb ? null, libs3 ? null |
diff -uwr a/src/ceph-detect-init/Makefile.am b/src/ceph-detect-init/Makefile.am | |
--- a/src/ceph-detect-init/Makefile.am 2017-05-22 21:37:40.616023663 +0800 | |
+++ b/src/ceph-detect-init/Makefile.am 2017-05-22 22:11:14.728173931 +0800 | |
@@ -69,12 +69,13 @@ | |
if test "$(DESTDIR)" ; then \ | |
if lsb_release -si | grep --quiet 'Ubuntu\|Debian\|Devuan' ; then \ | |
options=--install-layout=deb ; \ | |
- else \ | |
- options=--prefix=/usr ; \ | |
fi ; \ |
pkgs.callPackage ./generic.nix (rec { | |
version = "10.2.7"; | |
src = pkgs.fetchgit { | |
url = "https://github.com/ceph/ceph.git"; | |
rev = "refs/tags/v${version}"; | |
sha256 = "0q49mkkphl2wlvbix09kbyj9sgv838zhi96dx3zs79kqmacn2mm6"; | |
}; | |
patches = [ ./fix-pythonpath.patch ]; |
0xdca7569ae1206435959e332a1a2aa936a2d52ae5 |
apikey="API_KEY TO FILL" | |
function up_txt { | |
host="$1" | |
val="$2" | |
remote="https://zonomi.com/app/dns/dyndns.jsp" | |
url="${remote}?host=${host}&api_key=${apikey}&ttl=300&type=TXT&value=${val}" | |
#curl -k -s "$url" &> "/var/lib/letsencrypt/dns_txt.${host}.log" |
I hereby claim:
To claim this, I am signing this object: